[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/class/template/templatesets/ -> templateset.class.php (sommaire)

(pas de description)

Poids: 105 lignes (2 kb)
Inclus ou requis:0 fois
Référencé: 1 fois
Nécessite: 0 fichiers

Définit 1 class

TemplateSet:: (8 méthodes):
  TemplateSet()
  getName()
  getType()
  isGlobal()
  isBlogSpecific()
  getBlogId()
  hasScreenshot()
  getScreenshotUrl()


Classe: TemplateSet  - X-Ref

\ingroup Template

abstraction for a template set
TemplateSet( $name, $type, $blogId = 0)   X-Ref
constructor

param: name The name of the template set, does not need to be unique
param: type TEMPLATE_SET_GLOBAL for global templates and TEMPLATE_SET_BLOG_SPECIFIC
param: blogId The blog to whom this template belongs, or 0 if it's global.

getName()   X-Ref

return: the name of the template set

getType()   X-Ref
returns wether the template is global or blog-specific

return: returns TEMPLATE_SET_GLOBAL if the template is global or

isGlobal()   X-Ref

return: returns true if the template is global

isBlogSpecific()   X-Ref

return: Returns true if the template is blog-specific

getBlogId()   X-Ref

return: Returns the blog id of the blog to whom this blog belongs, or

hasScreenshot()   X-Ref
returns true if the template set has an screenshot available

return: true if screenshot available or false otherwise

getScreenshotUrl()   X-Ref
calculates and returns the full path to the screenshot of the template set
regardless of whether it is global or blog specific

return: The url to the screenshot



Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics