PHP Class Ansel_Ajax_Application_Handler, horde

Copyright 2012-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
Author: Michael J Rubinsky ([email protected])
Inheritance: extends Horde_Core_Ajax_Application_Handler
Show file Open project: horde/horde

Protected Properties

Property Type Description
$_external

Public Methods

Method Description
addTag ( ) : array Adds a new tag to a resource.
checkSlug ( ) : boolean Variables used: - slug
deleteFaces ( ) Delete a face from an image.
embed ( ) : Horde_Core_Ajax_Response_Raw Javascript code needed for embedding a small gallery widget in external websites.
getGallery ( ) : mixed Obtain a gallery
imageSaveGeotag ( ) : object Save/update image geotag.
removeTag ( ) : array Remove tag(s) from a resource.
setFaceName ( ) Sets a name in an image.
uploadNotification ( )

Private Methods

Method Description
_getTagHtml ( $tags, $hasEdit )

Method Details

addTag() public method

Adds a new tag to a resource.
public addTag ( ) : array
return array An array of tag hashes representing the objects's current tags (after the new tag is added).

checkSlug() public method

Variables used: - slug
public checkSlug ( ) : boolean
return boolean True if slug is valid.

deleteFaces() public method

Delete a face from an image.
public deleteFaces ( )

embed() public method

Javascript code needed for embedding a small gallery widget in external websites.
public embed ( ) : Horde_Core_Ajax_Response_Raw
return Horde_Core_Ajax_Response_Raw The Ajax response object.

getGallery() public method

Obtain a gallery
See also: Ansel_Gallery::toJson()
public getGallery ( ) : mixed
return mixed False on failure, object representing the gallery with the following structure:

imageSaveGeotag() public method

Save/update image geotag.
public imageSaveGeotag ( ) : object
return object Object with 2 parameters: - message - response

removeTag() public method

Remove tag(s) from a resource.
public removeTag ( ) : array
return array An array of tag hashes representing the objects's current tags (after the tags are deleted).

setFaceName() public method

Sets a name in an image.
public setFaceName ( )

uploadNotification() public method

public uploadNotification ( )

Property Details

$_external protected property

protected $_external