Documentation

EasyBlogUnsplash extends EasyBlog
in package

Table of Contents

Properties

$accessKey  : mixed
$app  : mixed
$appName  : mixed
$config  : mixed
$db  : mixed
$doc  : mixed
$input  : mixed
$items  : mixed
$jconfig  : mixed
$lang  : mixed
$limit  : mixed
$my  : mixed
$string  : mixed
$base  : mixed
$endpoints  : mixed

Methods

__construct()  : mixed
format()  : mixed
Format the data given
getData()  : mixed
Request data from the GIPHY API
getError()  : mixed
getErrors()  : mixed
getItems()  : mixed
Get the photos from the connector with the query given
getUrl()  : mixed
Retrieve the url for a specific endpoint
hasError()  : mixed
hasErrors()  : mixed
isEnabled()  : mixed
Determine whether is it enabled or not
isMobile()  : mixed
Determines if this is a mobile layout
isTablet()  : mixed
Determines if this is a tablet layout
isValidUrl()  : mixed
Check for a valid GIPHY URL
loadLanguage()  : mixed
Helper method to load language
photos()  : mixed
Get a list of photos Endpoint
search()  : mixed
Search photos Endpoint
setError()  : mixed
userPhotos()  : mixed
Get a list of photos of a user Endpoint

Properties

$accessKey

public mixed $accessKey = \null

$app

public mixed $app = \null

$config

public mixed $config = \null

$db

public mixed $db = \null

$doc

public mixed $doc = \null

$input

public mixed $input = \null

$jconfig

public mixed $jconfig = \null

$lang

public mixed $lang = \null

$my

public mixed $my = \null

$string

public mixed $string = \null

$base

private mixed $base = 'https://api.unsplash.com'

$endpoints

private mixed $endpoints = ['search' => '/search/photos', 'photos' => '/photos', 'users' => '/users']

Methods

__construct()

public __construct() : mixed

format()

Format the data given

public format(mixed $data) : mixed
Parameters
$data : mixed
Tags
since
6.0.0
access

public

getData()

Request data from the GIPHY API

public getData([mixed $options = [] ]) : mixed
Parameters
$options : mixed = []
Tags
since
6.0.0
access

public

getError()

public getError() : mixed

getErrors()

public getErrors() : mixed

getItems()

Get the photos from the connector with the query given

public getItems(mixed $options) : mixed
Parameters
$options : mixed
Tags
since
6.0.0
access

public

getUrl()

Retrieve the url for a specific endpoint

public getUrl(mixed $endpoint[, mixed $options = [] ]) : mixed
Parameters
$endpoint : mixed
$options : mixed = []
Tags
since
6.0.0
access

public

hasError()

public hasError() : mixed

hasErrors()

public hasErrors() : mixed

isEnabled()

Determine whether is it enabled or not

public isEnabled() : mixed
Tags
since
6.0.0
access

public

isMobile()

Determines if this is a mobile layout

public isMobile() : mixed
Tags
since
5.1
access

public

isTablet()

Determines if this is a tablet layout

public isTablet() : mixed
Tags
since
5.3
access

public

isValidUrl()

Check for a valid GIPHY URL

public isValidUrl(mixed $url) : mixed
Parameters
$url : mixed
Tags
since
6.0.0
access

public

loadLanguage()

Helper method to load language

public loadLanguage([mixed $admin = false ]) : mixed
Parameters
$admin : mixed = false
Tags
since
5.0
access

public

photos()

Get a list of photos Endpoint

public photos([mixed $page = null ]) : mixed
Parameters
$page : mixed = null
Tags
since
6.0.0
access

public

Search photos Endpoint

public search(mixed $query[, mixed $page = null ]) : mixed
Parameters
$query : mixed
$page : mixed = null
Tags
since
6.0.0
access

public

setError()

public setError(mixed $msg) : mixed
Parameters
$msg : mixed

userPhotos()

Get a list of photos of a user Endpoint

public userPhotos(mixed $username[, mixed $page = null ]) : mixed
Parameters
$username : mixed
$page : mixed = null
Tags
since
6.0.0
access

public


        
On this page

Search results