PageThemeFileWhen activating a theme, any file within the theme is loaded into the system as a Page Theme File. At that point the file can then be used to create a new page type.
Located in /models/page_theme.php (line 83)
getFilename (line 132)
Gets the filename for this theme file object.
getHandle (line 144)
Returns just the part of the filename prior to the extension
getType (line 138)
Gets the type of file for this object.
setFilename (line 118)
Sets the filename of this object to the passed parameter.
setType (line 125)
Sets the type of file for this object to one of the constants.
TFTYPE_DEFAULT
= 2
(line 96)
Type of page corresponding to the default page type. If a page type doesn't have a template in a particular theme, default is used.
TFTYPE_PAGE_TYPE_EXISTING
= 5
(line 111)
This is a template for a page type that already exists in the system.
TFTYPE_PAGE_TYPE_NEW
= 4
(line 106)
This is a template for a new page type - one that hasn't been previously created in the system.
TFTYPE_SINGLE_PAGE
= 3
(line 101)
If this is used to designate what type of template this is, this means it corresponds to a single page like "login.php"
TFTYPE_VIEW
= 1
(line 91)
Type of page corresponding to the view template (used by single pages in this theme). Typically that means this template file is "view.php"
Documentation generated on Thu, 15 Sep 2011 16:36:29 -0700 by phpDocumentor 1.4.1