model/modx/modaction.class.php

Classes 
package
modx
Classes
modAction

Description

Represents an action to a controller or connector.

\modAction

Extends from
\modAccessibleSimpleObject
package
modx
Methods
rebuildCache
remove
save

Description

Represents an action to a controller or connector.

This is the basis for the entire xPDO object model, and can also be used by a class generator {@link xPDOGenerator}, ultimately allowing custom classes to be user-defined in a web interface and framework-generated at runtime.

Methods

rebuildCache

rebuildCache(  $options = array ) : boolean

Rebuilds the action map cache.

Arguments
$options
Output
boolean
True if successful.
Details
visibility
public
final
false
static
false
access
public

remove

remove( array $ancestors = array ) : boolean

Overrides xPDOObject::save to cache the actionMap.

{@inheritdoc}

Arguments
$ancestors
array
Keeps track of classes which have already been removed to prevent loop with circular references.
Output
boolean
Returns true on success, false on failure.
Details
visibility
public
final
false
static
false

save

save( boolean|integer $cacheFlag = null ) : boolean

Overrides xPDOObject::save to cache the actionMap.

{@inheritdoc}

Arguments
$cacheFlag
booleaninteger
Indicates if the saved object(s) should be cached and optionally, by specifying an integer value, for how many seconds before expiring. Overrides the cacheFlag for the object(s).
Output
boolean
Returns true on success, false on failure.
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox 0.11.2.