| [ Index ] |
PHP Cross Reference of Nucleus CMS 3.32 |
[Source view] [Print] [Project Stats]
Class representing a skin
| Copyright: | Copyright (C) 2002-2007 The Nucleus Group |
| License: | http://nucleuscms.org/license.txt GNU General Public License |
| Version: | $Id: SKIN.php 1198 2007-09-05 07:44:35Z kimitake $ |
| File Size: | 420 lines (11 kb) |
| Included or required: | 1 time |
| Referenced: | 1 time |
| Includes or requires: | 0 files |
SKIN:: (20 methods):
SKIN()
getID()
getName()
getDescription()
getContentType()
getIncludeMode()
getIncludePrefix()
exists()
existsID()
createFromName()
getIdFromName()
getNameFromId()
createNew()
parse()
getContent()
update()
deleteAllParts()
updateGeneralInfo()
getFriendlyNames()
getAllowedActionsForType()
| SKIN($id) X-Ref |
| No description |
| getID() X-Ref |
| No description |
| getName() X-Ref |
| No description |
| getDescription() X-Ref |
| No description |
| getContentType() X-Ref |
| No description |
| getIncludeMode() X-Ref |
| No description |
| getIncludePrefix() X-Ref |
| No description |
| exists($name) X-Ref |
| Checks if a skin with a given shortname exists param: string $name Skin short name return: int number of skins with the given ID |
| existsID($id) X-Ref |
| Checks if a skin with a given ID exists param: string $id Skin ID return: int number of skins with the given ID |
| createFromName($name) X-Ref |
| Returns a skin given its shortname param: string $name Skin shortname return: object SKIN |
| getIdFromName($name) X-Ref |
| Returns a skin ID given its shortname param: string $name Skin shortname return: int Skin ID |
| getNameFromId($id) X-Ref |
| Returns a skin shortname given its ID param: string $name return: string Skin short name |
| createNew($name, $desc, $type = 'text/html', $includeMode = 'normal', $includePrefix = '') X-Ref |
| Creates a new skin, with the given characteristics. |
| parse($type) X-Ref |
| No description |
| getContent($type) X-Ref |
| No description |
| update($type, $content) X-Ref |
| Updates the contents of one part of the skin |
| deleteAllParts() X-Ref |
| Deletes all skin parts from the database |
| updateGeneralInfo($name, $desc, $type = 'text/html', $includeMode = 'normal', $includePrefix = '') X-Ref |
| Updates the general information about the skin |
| getFriendlyNames() X-Ref |
| static: returns an array of friendly names |
| getAllowedActionsForType($type) X-Ref |
| No description |
| Generated: Tue Feb 12 15:34:36 2008 | Cross-referenced by PHPXref 0.7 |