Procedural File: _skin.funcs.php
Source Location: /blogs/inc/skins/_skin.funcs.php
Functions
is_default_page [line 257]
boolean is_default_page(
)
|
|
Tells if we are on the default blog page
Template tag. Output HTML base tag to current skin.
This is needed for relative css and img includes.
skin_container [line 439]
void skin_container(
string $sco_name, [array $params = array()]
)
|
|
Display a container
Parameters:
|
string |
$sco_name: |
|
|
array |
$params: |
|
skin_content_header [line 375]
void skin_content_header(
[string $type = 'text/html']
)
|
|
Template tag. Output content-type header
Parameters:
|
string |
$type: |
content-type; override for RSS feeds |
API Tags:
skin_content_meta [line 390]
void skin_content_meta(
[string $type = 'text/html']
)
|
|
Template tag. Output content-type http_equiv meta tag
Parameters:
|
string |
$type: |
content-type; override for RSS feeds |
API Tags:
boolean skin_exists(
skin $name, [ $filename = 'index.main.php']
)
|
|
Checks if a skin exists. This can either be a regular skin directory or can be in the list Plugin::GetProvidedSkins().
Used by front-end.
Parameters:
|
skin |
$name: |
name (directory name) |
|
|
$filename: |
|
API Tags:
| Return: | true is exists, false if not |
void skin_include(
$template_name, [ $params = array()]
)
|
|
Template tag. Include a sub-template at the current position
Parameters:
Information Tags:
| Todo: | plugin hook to handle a special disp |
void skin_init(
string $disp
)
|
|
Template tag. Initializes internal states for the most common skin displays.
For more specific skins, this function should not be called and equivalent code should be customized within the skin.
Parameters:
|
string |
$disp: |
What are we going to display. Most of the time the global $disp should be passed. |
skin_installed [line 511]
boolean skin_installed(
Skin $name
)
|
|
Check if a skin is installed.
This can either be a regular skin or a skin provided by a plugin.
Parameters:
|
Skin |
$name: |
name (directory name) |
API Tags:
| Return: | True if the skin is installed, false otherwise. |
skin_provided_by_plugin [line 454]
false|integer skin_provided_by_plugin(
$name
)
|
|
Checks if a skin is provided by a plugin.
Used by front-end.
Parameters:
API Tags:
void skin_widget(
array $params
)
|
|
Template tag. Display a Widget.
This load the widget class, instantiates it, and displays it.
Parameters: