PHP Class ezjscServerFunctionsNode

Inheritance: extends ezjscServerFunctions
Afficher le fichier Open project: ezsystems/ezpublish-legacy

Méthodes publiques

Méthode Description
load ( mixed $args ) : array Returns a node data for given object / node id
subTree ( mixed $args ) : array Returns a subtree node items for given parent node
updatePriority ( mixed $args ) : array Updating priority sorting for given node

Méthodes protégées

Méthode Description
sortMap ( string $sort ) : string A helper function which maps sort keys from encoded JSON node to supported values

Method Details

load() public static méthode

Following parameters are supported: ezjscnode::load::embed_id[::attribute[::load_image_size]] eg: ezjscnode::load::ezobject_46::image::large eg: ezjscnode::load::eznode_44::summary eg: ezjscnode::load::44::summary (44 is in this case node id)
Since: 1.2
public static load ( mixed $args ) : array
$args mixed
Résultat array

sortMap() protected static méthode

A helper function which maps sort keys from encoded JSON node to supported values
Since: 1.2
protected static sortMap ( string $sort ) : string
$sort string
Résultat string

subTree() public static méthode

Following parameters are supported: ezjscnode::subtree::parent_node_id::limit::offset::sort::order
Since: 1.2
public static subTree ( mixed $args ) : array
$args mixed
Résultat array

updatePriority() public static méthode

Updating priority sorting for given node
Since: 1.2
public static updatePriority ( mixed $args ) : array
$args mixed
Résultat array