Documentation

EasyBlogMediaManagerAmazonSource extends EasyBlogMediaManagerAbstractSource
in package

Table of Contents

Properties

$app  : mixed
$config  : mixed
$db  : mixed
$doc  : mixed
$input  : mixed
$jconfig  : mixed
$lang  : mixed
$my  : mixed
$string  : mixed
$rx_exclude  : mixed
$variationTypes  : mixed

Methods

__construct()  : mixed
createVariation()  : mixed
Creates a new image variation
delete()  : mixed
Remove a file and it's variation from amazon
deleteVariation()  : mixed
Deletes a variation of an image
deleteVariations()  : mixed
Remove all image variations from the site
generateImageURL()  : mixed
Generate amazon image url based on uri and size
getError()  : mixed
getErrors()  : mixed
getFileTitle()  : mixed
Retrieve title from a filename
getItem()  : mixed
Retrieves the file / folder information
getItems()  : mixed
Retrieves a list of images the user has on Flickr
getUniqueFileName()  : mixed
Alias function for uniqueFilename
getVariationItem()  : mixed
Structures the variation object
getVariations()  : mixed
hasError()  : mixed
hasErrors()  : mixed
hasLogin()  : mixed
Determines if the current place needs a login screen.
isExcluded()  : mixed
Determines if the file is excluded
isGifImage()  : mixed
Determines if the image is a GIF image
isImage()  : mixed
Determines if a given file is an image
isLegacyImageVariation()  : mixed
Determines if this item is a legacy image file
isMobile()  : mixed
Determines if this is a mobile layout
isTablet()  : mixed
Determines if this is a tablet layout
loadLanguage()  : mixed
Helper method to load language
move()  : mixed
Moves a file or folder from destination to target
populateMediaObjects()  : mixed
Populate required media object into database
rebuildVariation()  : mixed
Do nothing.
rename()  : mixed
Renames a file
renameVariations()  : mixed
Rename all variations when the main file is renamed
renderFolderContents()  : mixed
Render folder contents from media manager
renderFolderItems()  : mixed
Render folder items from media manager
resizeImage()  : mixed
Resizes an image
serializeParam()  : mixed
setError()  : mixed
uniqueFilename()  : mixed
upload()  : mixed
Allows user to upload file via media manager
createItem()  : mixed
Creates a new item object for media manager
getFileItem()  : mixed
Retrieves information about a uri
getFolderItem()  : mixed
Returns the structure of the folder
getPostId()  : mixed
Get post id from uri
rx_variations()  : mixed
isDevelopmentMode()  : mixed
Determines if EasyBlog is running on dev mode

Properties

$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

$variationTypes

protected mixed $variationTypes = [\EBLOG_BLOG_IMAGE_PREFIX => 'blogimage', \EBLOG_USER_VARIATION_PREFIX => 'user', \EBLOG_SYSTEM_VARIATION_PREFIX => 'system']

Methods

__construct()

public __construct(mixed $lib) : mixed
Parameters
$lib : mixed

createVariation()

Creates a new image variation

public createVariation(mixed $uri, mixed $name, mixed $params) : mixed
Parameters
$uri : mixed
$name : mixed
$params : mixed
Tags
since
5.3.0
access

public

delete()

Remove a file and it's variation from amazon

public delete(mixed $uri) : mixed
Parameters
$uri : mixed
Tags
since
5.3.0
access

public

deleteVariation()

Deletes a variation of an image

public deleteVariation(mixed $uri, mixed $name) : mixed
Parameters
$uri : mixed
$name : mixed
Tags
since
5.3.0
access

public

deleteVariations()

Remove all image variations from the site

public deleteVariations(mixed $uri) : mixed
Parameters
$uri : mixed
Tags
since
5.0
access

public

generateImageURL()

Generate amazon image url based on uri and size

public generateImageURL(mixed $uri, mixed $size) : mixed
Parameters
$uri : mixed
$size : mixed
Tags
since
5.3.0
access

public

getError()

public getError() : mixed

getErrors()

public getErrors() : mixed

getFileTitle()

Retrieve title from a filename

public getFileTitle(mixed $fileName) : mixed
Parameters
$fileName : mixed
Tags
since
5.3.0
access

public

getItem()

Retrieves the file / folder information

public getItem(mixed $uri[, mixed $relative = false ]) : mixed
Parameters
$uri : mixed
$relative : mixed = false
Tags
since
5.3.0
access

public

getItems()

Retrieves a list of images the user has on Flickr

public getItems(mixed $uri[, mixed $includeVariations = false ]) : mixed
Parameters
$uri : mixed
$includeVariations : mixed = false
Tags
since
5.3.0
access

public

getUniqueFileName()

Alias function for uniqueFilename

public getUniqueFileName(mixed $path, mixed $fileName) : mixed
Parameters
$path : mixed
$fileName : mixed
Tags
since
5.1
access

public

getVariationItem()

Structures the variation object

public getVariationItem(mixed $name, mixed $url, mixed $fileName) : mixed
Parameters
$name : mixed
$url : mixed
$fileName : mixed
Tags
since
5.0
access

public

getVariations()

public getVariations(mixed $uri[, mixed $relative = false ]) : mixed
Parameters
$uri : mixed
$relative : mixed = false

hasError()

public hasError() : mixed

hasErrors()

public hasErrors() : mixed

hasLogin()

Determines if the current place needs a login screen.

public hasLogin() : mixed

Should be extended on child if needs overriding.

Tags
since
5.1
access

public

isExcluded()

Determines if the file is excluded

public isExcluded(mixed $file) : mixed
Parameters
$file : mixed
Tags
since
5.0
access

public

isGifImage()

Determines if the image is a GIF image

public isGifImage(mixed $type) : mixed
Parameters
$type : mixed
Tags
since
5.3.0
access

public

isImage()

Determines if a given file is an image

public isImage(mixed $path, mixed $type) : mixed
Parameters
$path : mixed
$type : mixed
Tags
since
5.3.0
access

public

isLegacyImageVariation()

Determines if this item is a legacy image file

public isLegacyImageVariation() : mixed
Tags
since
5.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

loadLanguage()

Helper method to load language

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

public

move()

Moves a file or folder from destination to target

public move(mixed $source, mixed $target) : mixed
Parameters
$source : mixed
$target : mixed
Tags
since
5.0
access

public

populateMediaObjects()

Populate required media object into database

public populateMediaObjects(mixed $uri, mixed $variations) : mixed
Parameters
$uri : mixed
$variations : mixed
Tags
since
5.3.0
access

public

rebuildVariation()

Do nothing.

public rebuildVariation(mixed $uri, mixed $name) : mixed
Parameters
$uri : mixed
$name : mixed
Tags
since
5.3.0
access

public

rename()

Renames a file

public rename(mixed $sourceUri, mixed $targetUri) : mixed
Parameters
$sourceUri : mixed
$targetUri : mixed
Tags
since
5.0
access

public

renameVariations()

Rename all variations when the main file is renamed

public renameVariations(mixed $sourceUri, mixed $targetUri) : mixed
Parameters
$sourceUri : mixed
$targetUri : mixed
Tags
since
5.0
access

public

renderFolderContents()

Render folder contents from media manager

public renderFolderContents(mixed $folder) : mixed
Parameters
$folder : mixed
Tags
since
5.1
access

public

renderFolderItems()

Render folder items from media manager

public renderFolderItems(mixed $folder[, mixed $nextPage = 1 ]) : mixed
Parameters
$folder : mixed
$nextPage : mixed = 1
Tags
since
5.2
access

public

resizeImage()

Resizes an image

public resizeImage(mixed $path, mixed $width, mixed $height, mixed $quality) : mixed
Parameters
$path : mixed
$width : mixed
$height : mixed
$quality : mixed
Tags
since
5.3.0
access

public

serializeParam()

public serializeParam(mixed $params) : mixed
Parameters
$params : mixed

setError()

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

uniqueFilename()

public static uniqueFilename(mixed $folderpath, mixed $filename) : mixed
Parameters
$folderpath : mixed
$filename : mixed

upload()

Allows user to upload file via media manager

public upload(mixed $file[, mixed $folderUri = null ]) : mixed
Parameters
$file : mixed
$folderUri : mixed = null
Tags
since
5.3.0
access

public

createItem()

Creates a new item object for media manager

protected createItem(mixed $uri) : mixed
Parameters
$uri : mixed
Tags
since
5.3.0
access

public

getFileItem()

Retrieves information about a uri

protected getFileItem(mixed $uri) : mixed
Parameters
$uri : mixed
Tags
since
5.0
access

public

getFolderItem()

Returns the structure of the folder

protected getFolderItem(mixed $uri) : mixed
Parameters
$uri : mixed
Tags
since
5.1
access

public

getPostId()

Get post id from uri

protected getPostId(mixed $uri) : mixed
Parameters
$uri : mixed
Tags
since
5.3.0
access

public

rx_variations()

protected rx_variations([mixed $filename = null ]) : mixed
Parameters
$filename : mixed = null

isDevelopmentMode()

Determines if EasyBlog is running on dev mode

private isDevelopmentMode() : mixed
Tags
since
5.1
access

public


        
On this page

Search results