[ Index ]

PHP Cross Reference of Nucleus CMS 3.64

title

Body

[close]

/nucleus3.64/nucleus/libs/ -> SKIN.php (summary)

Class representing a skin

Copyright: Copyright (C) 2002-2009 The Nucleus Group
License: http://nucleuscms.org/license.txt GNU General Public License
Version: $Id: SKIN.php 1470 2010-11-29 22:10:16Z ftruscot $
File Size: 431 lines (12 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

SKIN:: (20 methods):
  SKIN()
  getID()
  getName()
  getDescription()
  getContentType()
  getIncludeMode()
  getIncludePrefix()
  exists()
  existsID()
  createFromName()
  getIdFromName()
  getNameFromId()
  createNew()
  parse()
  getContent()
  update()
  deleteAllParts()
  updateGeneralInfo()
  getFriendlyNames()
  getAllowedActionsForType()


Class: SKIN  - X-Ref

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: Mon May 2 16:14:08 2011 Cross-referenced by PHPXref 0.7.1