Class TemplateOperations

Description

Class for doing template related functions. Many of the Template object functions are just wrappers around these.

  • since: 0.6
  • license: GPL

Located in /class.templateoperations.inc.php (line 41)


	
			
Method Summary
static void &get_instance ()
TemplateOperations __construct ()
void CheckExistingTemplateName ( $name, [ $id = -1])
void DeleteTemplateByID ( $id)
void InsertTemplate ( $template)
void LoadTemplateAndContentDates ( $alias)
void LoadTemplateByContentAlias ( $alias)
void &LoadTemplateByID ( $id, [ $sparse = FALSE])
void LoadTemplates ()
void StylesheetsUsed ()
void TemplateDropdown ([ $id = 'template_id'], [ $selected_id = -1], [ $othertext = ''], [ $show_hidden = false])
void TouchAllTemplates ([ $blob_name = ''])
void UpdateTemplate ( $template)
void UsageCount ( $id)
void &_fromCache ( $id)
void _toCache (Template &$template)
Methods
static method get_instance (line 47)
  • access: public
static void &get_instance ()
Constructor __construct (line 45)
  • access: protected
TemplateOperations __construct ()
CheckExistingTemplateName (line 405)
void CheckExistingTemplateName ( $name, [ $id = -1])
  • $name
  • $id
CountPagesUsingTemplateByID (line 334)
void CountPagesUsingTemplateByID ( $id)
  • $id
DeleteTemplateByID (line 313)
void DeleteTemplateByID ( $id)
  • $id
InsertTemplate (line 276)
void InsertTemplate ( $template)
  • $template
LoadDefaultTemplate (line 228)
void LoadDefaultTemplate ()
LoadTemplateAndContentDates (line 205)
void LoadTemplateAndContentDates ( $alias)
  • $alias
LoadTemplateByContentAlias (line 173)
void LoadTemplateByContentAlias ( $alias)
  • $alias
LoadTemplateByID (line 127)
  • access: public
void &LoadTemplateByID ( $id, [ $sparse = FALSE])
  • $id
  • $sparse
LoadTemplates (line 57)
void LoadTemplates ()
StylesheetsUsed (line 355)
void StylesheetsUsed ()
TemplateDropdown (line 429)
void TemplateDropdown ([ $id = 'template_id'], [ $selected_id = -1], [ $othertext = ''], [ $show_hidden = false])
  • $id
  • $selected_id
  • $othertext
  • $show_hidden
TouchAllTemplates (line 376)
void TouchAllTemplates ([ $blob_name = ''])
  • $blob_name
UpdateTemplate (line 295)
void UpdateTemplate ( $template)
  • $template
UsageCount (line 258)
void UsageCount ( $id)
  • $id
_findCachedDefault (line 89)
  • access: protected
void &_findCachedDefault ()
_fromCache (line 100)
  • access: protected
void &_fromCache ( $id)
  • $id
_toCache (line 121)
  • access: protected
void _toCache (Template &$template)

Documentation generated on Sun, 12 Aug 2012 08:38:31 -0600 by phpDocumentor 1.3.2