Procedural File: _skin.funcs.php
Source Location: /blogs/inc/MODEL/skins/_skin.funcs.php
Functions
Template function: output HTML base tag to current skin
skin_change_url [line 267]
void skin_change_url(
[boolean $display = true]
)
|
|
Parameters:
|
boolean |
$display: |
display (true) or return? |
skin_content_header [line 65]
void skin_content_header(
[string $type = 'text/html']
)
|
|
Output content-type header
We use this method when we are NOT generating a static page
Parameters:
|
string |
$type: |
content-type; override for RSS feeds |
API Tags:
skin_content_meta [line 84]
void skin_content_meta(
[string $type = 'text/html']
)
|
|
Output content-type http_equiv meta tag
We use this method when we ARE generating a static page
Parameters:
|
string |
$type: |
content-type; override for RSS feeds |
API Tags:
boolean skin_exists(
skin $name, [ $filename = '_main.php']
)
|
|
Checks if a skin exists. This can either be a regular skin directory or can be in the list Plugin::GetProvidedSkins().
Parameters:
|
skin |
$name: |
name (directory name) |
|
|
$filename: |
|
API Tags:
| Return: | true is exists, false if not |
skin_list_iteminfo [line 239]
void skin_list_iteminfo(
[ $what = ''], [ $display = true]
)
|
|
skin_list_iteminfo(-)
Display info about item
fplanque: created
Parameters:
skin_list_next [line 212]
Get next skin
Lists all folders in skin directory, except the ones starting with a . (UNIX style) or a _ (FrontPage style)
API Tags:
skin_list_start [line 191]
Initializes skin list iterator
lists all folders in skin directory
void skin_options(
[ $default = '']
)
|
|
Outputs an <option> set with default skin selected
skin_options(-)
Parameters:
skin_options_return [line 164]
string skin_options_return(
[ $default = '']
)
|
|
Returns an <option> set with default skin selected
Parameters:
skin_provided_by_plugin [line 100]
false|integer skin_provided_by_plugin(
$name
)
|
|
Checks if a skin is provided by a plugin.
Parameters:
API Tags: