Class: Skin
Source Location: /blogs/inc/skins/model/_skin.class.php
Class Skin
Class Overview
|
Skin Class Located in /blogs/inc/skins/model/_skin.class.php [line 34] DataObject | --SkinAuthor(s):
|
[ Top ]
Inherited Properties, Constants, and Methods
| Inherited Properties | Inherited Methods | Inherited Constants |
|---|---|---|
|
Inherited From DataObject |
Inherited From DataObject
|
[ Top ]
Property Summary
Method Summary
| static void | disp_skinshot() | Display skinshot for skin folder in various places. |
| Skin | Skin() | Constructor |
| void | container() | Display a container |
| boolean | dbinsert() | Insert object into DB based on previously recorded changes. |
| boolean | dbupdate() | Update the DB based on previously recorded changes |
| void | db_save_containers() | Save containers |
| void | discover_containers() | Discover containers included in skin file |
| array | get_containers() | |
| void | get_default_name() | Get default name for the skin. |
| void | get_name() | Get the customized name for the skin. |
| void | install() | Install a skin |
| boolean | load_from_Request() | Load data from Request form fields. |
[ Top ]
Properties
Methods
static method disp_skinshot [line 357]
|
Display skinshot for skin folder in various places.
Including for NON installed skins.
Parameters:| $skin_folder: | ||
| $function: | ||
| $selected: | ||
| $select_url: | ||
| $function_url: |
[ Top ]
Constructor Skin [line 52]
|
Constructor
Parameters:| table | $db_row: | Database row |
[ Top ]
container [line 147]
|
Display a container
Parameters:| string | $sco_name: | |
| array | $params: |
Information Tags:
| Todo: | fp> if it doesn't get any skin specific, move it outta here! :P fp> Do we need Skin objects in the frontoffice at all? -- Do we want to include the dispatcher into the Skin object? WARNING: globals fp> We might want to customize the container defaults. -- Per blog or per skin? |
[ Top ]
dbinsert [line 306]
|
Insert object into DB based on previously recorded changes.
API Tags:
| Return: | true |
Redefinition of:
- DataObject::dbinsert()
- Insert object into DB based on previously recorded changes.
[ Top ]
dbupdate [line 284]
|
Update the DB based on previously recorded changes
API Tags:
| Return: | true |
Redefinition of:
- DataObject::dbupdate()
- Update the DB based on previously recorded changes
[ Top ]
db_save_containers [line 328]
|
Save containers
to be called by dbinsert / dbupdate
[ Top ]
discover_containers [line 178]
|
Discover containers included in skin file
Information Tags:
| Todo: | browse all *.tpl.php |
[ Top ]
get_default_name [line 105]
|
Get default name for the skin.
Note: the admin can customize it.
[ Top ]
install [line 87]
|
Install a skin
Parameters:| string | $skin_folder: | |
| string | $name: | NULL for default (used by installer; TODO: override with class for Atom ans RSS 2.0) |
Information Tags:
| Todo: | do not install if skin doesn't exist. Important for upgrade. Need to NOT fail if ZERO skins installed though :/ |
[ Top ]
