MagicSmoke  $VERSION$
WOTemplate Class Reference
Inheritance diagram for WOTemplate:
WOTemplateAbstract WObject

Static Public Member Functions

static changeFlags ($trans)
 called by the SetTemplateFlags transaction More...
 
static deleteTemplate ($trans)
 called by the DeleteTemplate transaction More...
 
static getFile ($trans)
 called by the GetTemplate transaction More...
 
static getList ($trans)
 called by the TemplateList transaction More...
 
static setFile ($trans)
 called by the SetTemplate transaction More...
 
static setTemplateDescription ($trans)
 called by the SetTemplateDescription transaction More...
 
- Static Public Member Functions inherited from WOTemplateAbstract
static fromString ($txt)
 
static fromTableArraytemplate (array $table)
 
static fromTabletemplate ($table)
 
static fromXml ($xml, $elem)
 
static validatecanuse ($value)
 
static validatecontent ($value)
 
static validatedescription ($value)
 
static validatedolog ($value)
 
static validatefilename ($value)
 
static validateflags ($value)
 
static validatehash ($value)
 
static validatetags ($value)
 
- Static Public Member Functions inherited from WObject
static elementsByTagName ($root, $tag)
 helper function that returns only the elements directly beneith the one given as $root More...
 
static fromXmlBoolean ($str)
 helper function for XML'ized objects that transforms XML boolean to PHP boolean More...
 
static isXmlBoolean ($str)
 helper function for XML'ized objects: it returns whether the string is a valid boolean More...
 

Additional Inherited Members

- Public Member Functions inherited from WOTemplateAbstract
 __construct ()
 
 getcanuse ()
 
 getcontent ()
 
 getdescription ()
 
 getdolog ()
 
 getfilename ()
 
 getflags ()
 
 gethash ()
 
 getstr_canuse ()
 
 getstr_content ()
 
 getstr_description ()
 
 getstr_dolog ()
 
 getstr_filename ()
 
 getstr_flags ()
 
 getstr_hash ()
 
 getstr_tags ()
 
 gettags ()
 
 propertyArray ()
 
 setcanuse ($value)
 
 setcontent ($value)
 
 setdescription ($value)
 
 setdolog ($value)
 
 setfilename ($value)
 
 setflags ($value)
 
 sethash ($value)
 
 settags ($value)
 
 toString ()
 
 toTabletemplate (&$table)
 
 toXml ($xml, $elementname="Template")
 
- Public Member Functions inherited from WObject
 propertyArray ()
 base for property array More...
 
- Protected Member Functions inherited from WOTemplateAbstract
 toXmlHelper ($xml, $root)
 
- Protected Member Functions inherited from WObject
 __construct ()
 
 toXmlHelper ($xml, $root)
 base for serialization More...
 
- Static Protected Member Functions inherited from WOTemplateAbstract
static fromXmlHelper ($data, $xml, $elem)
 
- Static Protected Member Functions inherited from WObject
static fromXmlHelper ($data, $xml, $elem)
 base for deserialization More...
 
static objectToArray ($obj)
 helper function for classy objects that calls getPropertyArray if available More...
 
- Protected Attributes inherited from WOTemplateAbstract
 $prop_canuse =null
 
 $prop_content =null
 
 $prop_description =null
 
 $prop_dolog =null
 
 $prop_filename =null
 
 $prop_flags =null
 
 $prop_hash =null
 
 $prop_tags =null
 

Member Function Documentation

static WOTemplate::changeFlags (   $trans)
static

called by the SetTemplateFlags transaction

References WTtemplate\getFromDB(), and tr().

Referenced by WTrSetTemplateFlags\handleRequest().

static WOTemplate::deleteTemplate (   $trans)
static

called by the DeleteTemplate transaction

References WTtemplate\getFromDB(), and tr().

Referenced by WTrDeleteTemplate\handleRequest().

static WOTemplate::getFile (   $trans)
static

called by the GetTemplate transaction

References WOTemplateAbstract\fromTabletemplate(), and WTtemplate\getFromDB().

Referenced by WTrGetTemplate\handleRequest().

static WOTemplate::getList (   $trans)
static

called by the TemplateList transaction

References WOTemplateInfo\fromTableArraytemplate(), and WTtemplate\selectFromDB().

Referenced by WTrGetTemplateList\handleRequest().

static WOTemplate::setFile (   $trans)
static

called by the SetTemplate transaction

References WOTemplateAbstract\fromTabletemplate(), WTtemplate\getFromDB(), and WTtemplate\newRow().

Referenced by WTrSetTemplate\handleRequest().

static WOTemplate::setTemplateDescription (   $trans)
static

called by the SetTemplateDescription transaction

References WTtemplate\getFromDB(), and tr().

Referenced by WTrSetTemplateDescription\handleRequest().


The documentation for this class was generated from the following file: