model/modx/modelementpropertyset.class.php

Classes 
extends
xPDOObject
package
modx
Classes
modElementPropertySet

Description

Represents a modPropertySet relation to a specific modElement.

\modElementPropertySet

Extends from
\xPDOObject
extends
xPDOObject
package
modx
Methods
getOne

Description

Represents a modPropertySet relation to a specific modElement.

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

getOne

getOne( string $alias, object $criteria = null, boolean|integer $cacheFlag = true ) : \xPDOObject|null

Returns related modElement instances based on the element_class column.

{@inheritdoc}

Arguments
$alias
string
Alias of the foreign class representing the related object.
$criteria
object
xPDOCriteria object to get the related objects
$cacheFlag
booleaninteger
Indicates if the object should be cached and optionally, by specifying an integer value, for how many seconds.
Output
\xPDOObject|null
The related object or null if no instance exists.
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox 0.11.2.