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
Afficher le fichier Open project: horde/horde

Protected Properties

Свойство Type Description
$_external

Méthodes publiques

Méthode 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

Méthode Description
_getTagHtml ( $tags, $hasEdit )

Method Details

addTag() public méthode

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

checkSlug() public méthode

Variables used: - slug
public checkSlug ( ) : boolean
Résultat boolean True if slug is valid.

deleteFaces() public méthode

Delete a face from an image.
public deleteFaces ( )

embed() public méthode

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

getGallery() public méthode

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

imageSaveGeotag() public méthode

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

removeTag() public méthode

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

setFaceName() public méthode

Sets a name in an image.
public setFaceName ( )

uploadNotification() public méthode

public uploadNotification ( )

Property Details

$_external protected_oe property

protected $_external