/** * Creates a modTemplateVar instance, and sets the token of the class to * * * {@inheritdoc} */ function __construct(&$xpdo) { parent::__construct($xpdo); $this->setToken('*'); }
/** * @param xPDO $xpdo A reference to the xPDO|modX instance */ function __construct(xPDO &$xpdo) { parent::__construct($xpdo); $this->setCacheable(false); }