modTemplateVarRepresents a template variable element.
Located in /model/modx/modtemplatevar.class.php (line 9)
xPDOObject | --modAccessibleObject | --modAccessibleSimpleObject | --modElement | --modTemplateVar
string
getRender
(array $params, mixed $value, $paths, string $method, [integer $resourceId = 0], [string $type = 'text'])
string
processBindings
([string $value = ''], [integer $resourceId = 0], [boolean $preProcess = true])
array
$bindings
= array (
integer
$resourceId
= 0 (line 28)
Inherited from modElement
modElement::$_cacheable
modElement::$_content
modElement::$_filters
modElement::$_invalidCharacters
modElement::$_output
modElement::$_processed
modElement::$_properties
modElement::$_propertyString
modElement::$_result
modElement::$_tag
modElement::$_token
Inherited from modAccessibleObject
modAccessibleObject::$_policies
Inherited from xPDOObject
xPDOObject::$container
xPDOObject::$fieldNames
xPDOObject::$xpdo
xPDOObject::$_aggregates
xPDOObject::$_alias
xPDOObject::$_cacheFlag
xPDOObject::$_class
xPDOObject::$_composites
xPDOObject::$_dirty
xPDOObject::$_fieldMeta
xPDOObject::$_fields
xPDOObject::$_lazy
xPDOObject::$_new
xPDOObject::$_options
xPDOObject::$_package
xPDOObject::$_pk
xPDOObject::$_pktype
xPDOObject::$_relatedObjects
xPDOObject::$_table
xPDOObject::$_tableMeta
xPDOObject::$_validated
xPDOObject::$_validationLoaded
xPDOObject::$_validationRules
xPDOObject::$_validator
Constructor __construct (line 35)
Creates a modTemplateVar instance, and sets the token of the class to *
decodeParamValue (line 470)
Decodes special function-based chars from a parameter value.
findPolicy (line 768)
Loads the access control policies applicable to this template variable.
getBindingDataFromValue (line 560)
Parses the binding data from a value
getContent (line 141)
Get the source content of this template variable.
getDisplayParams (line 481)
Returns an array of display params for this TV
getRender (line 384)
Gets the correct render given paths and type of render
getRenderDirectories (line 429)
Finds the correct directories for renders
getValue (line 169)
Get the value of a template variable for a resource.
parseBinding (line 692)
Parses bindings to an appropriate format.
parseInput (line 507)
Returns an string if a delimiter is present. Returns array if is a recordset is present.
parseInputOptions (line 542)
Parses input options sent through postback.
process (line 103)
Process the template variable and return the output.
processBindings (line 580)
Process bindings assigned to a template variable.
processFileBinding (line 746)
Special parsing for file bindings.
processInheritBinding (line 713)
Parse inherit binding
remove (line 76)
Overrides modElement::remove to add custom error logging and fire modX-specific events.
renderInput (line 269)
Renders input forms for the template variable.
renderOutput (line 238)
Returns the processed output of a template variable.
save (line 46)
Overrides modElement::save to add custom error logging and fire modX-specific events.
setContent (line 157)
Set the source content of this template variable.
setValue (line 203)
Set the value of a template variable for a resource.
Inherited From modElement
modElement::addPropertySet()
modElement::cache()
modElement::filterInput()
modElement::filterOutput()
modElement::findPolicy()
modElement::get()
modElement::getContent()
modElement::getInputFilter()
modElement::getOutputFilter()
modElement::getProperties()
modElement::getPropertySet()
modElement::getTag()
modElement::getToken()
modElement::isCacheable()
modElement::process()
modElement::remove()
modElement::removePropertySet()
modElement::set()
modElement::setCacheable()
modElement::setContent()
modElement::setProperties()
modElement::setTag()
modElement::setToken()
modElement::toPlaceholders()
Inherited From modAccessibleObject
modAccessibleObject::checkPolicy()
modAccessibleObject::findPolicy()
modAccessibleObject::getPolicies()
modAccessibleObject::load()
modAccessibleObject::loadCollection()
modAccessibleObject::remove()
modAccessibleObject::save()
modAccessibleObject::setPolicies()
modAccessibleObject::_loadCollectionInstance()
modAccessibleObject::_loadInstance()
Inherited From xPDOObject
xPDOObject::__construct()
xPDOObject::addMany()
xPDOObject::addOne()
xPDOObject::addValidationRule()
xPDOObject::encode()
xPDOObject::fromArray()
xPDOObject::fromJSON()
xPDOObject::get()
xPDOObject::getFieldName()
xPDOObject::getFKClass()
xPDOObject::getFKDefinition()
xPDOObject::getMany()
xPDOObject::getOne()
xPDOObject::getOption()
xPDOObject::getPK()
xPDOObject::getPKType()
xPDOObject::getPrimaryKey()
xPDOObject::getSelectColumns()
xPDOObject::getValidator()
xPDOObject::isDirty()
xPDOObject::isLazy()
xPDOObject::isNew()
xPDOObject::isValidated()
xPDOObject::load()
xPDOObject::loadCollection()
xPDOObject::loadCollectionGraph()
xPDOObject::remove()
xPDOObject::removeValidationRules()
xPDOObject::save()
xPDOObject::set()
xPDOObject::setDirty()
xPDOObject::setOption()
xPDOObject::toArray()
xPDOObject::toJSON()
xPDOObject::validate()
xPDOObject::_getAliases()
xPDOObject::_getDataType()
xPDOObject::_getPHPType()
xPDOObject::_getRelatedObjectsByFK()
xPDOObject::_initFields()
xPDOObject::_loadCollectionInstance()
xPDOObject::_loadFieldData()
xPDOObject::_loadInstance()
xPDOObject::_loadRows()
xPDOObject::_loadValidation()
xPDOObject::_saveRelatedObject()
xPDOObject::_saveRelatedObjects()
xPDOObject::_setRaw()
Documentation generated on Fri, 17 Jun 2011 10:03:51 -0600 by phpDocumentor 1.4.3