model/modx/mysql/modtemplate.class.php

Includes Classes 
package
modx
subpackage
mysql
Classes
modTemplate_mysql

Description

\modTemplate_mysql

Extends from
\modTemplate
package
modx
Methods
listTemplateVars

Description

Represents a content element that serves as a resource template.

These elements are defined by some type of source content that when processed will provide output or some type of logical result based on mutable properties.

This class creates an instance of a modElement object. This should not be called directly, but rather extended for derivative modElement classes.

Methods

listTemplateVars

listTemplateVars( \modTemplate $template, array $sort = array, int $limit = 0, int $offset = 0,  $conditions = array ) : array

Get a sortable, limitable list and total record count of Template Variables.

This list includes an access field indicating their relationship to a modTemplate.

Arguments
$template
\modTemplate
&$template A modTemplate instance.
$sort
array
An array of criteria for sorting the list.
$limit
int
An optional limit to apply to the list.
$offset
int
An optional offset to apply to the list.
$conditions
Output
array
An array with the list collection and total records in the collection.
Details
visibility
public
final
false
static
true
Documentation was generated by DocBlox 0.11.2.