b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (Version 2.4) [ class tree: evocore ] [ index: evocore ] [ all elements ]

Procedural File: _skin.funcs.php

Source Location: /blogs/inc/skins/_skin.funcs.php

Page Details

This file implements Template tags for use withing skins.

This file is part of the b2evolution/evocms project - http://b2evolution.net/. See also http://sourceforge.net/projects/evocms/.

Author:  blueyed: Daniel HAHLER.
Author:  fplanque: Francois PLANQUE.
Version:  $Id: _skin.funcs.php,v 1.24.2.3 2009/03/23 12:26:09 tblue246 Exp $
Copyright:  (c)2003-2008 by Francois PLANQUE - http://fplanque.net/. Parts of this file are copyright (c)2004-2005 by Daniel HAHLER - http://thequod.de/contact.
Filesource:  Source Code for this file
License:  GNU General Public License (GPL)
Functions
is_default_page  [line 257]

boolean is_default_page( )

Tells if we are on the default blog page



[ Top ]
skin_base_tag  [line 337]

void skin_base_tag( )

Template tag. Output HTML base tag to current skin.

This is needed for relative css and img includes.



[ Top ]
skin_container  [line 439]

void skin_container( string $sco_name, [array $params = array()]  )

Display a container

Parameters:
string   $sco_name: 
array   $params: 


[ Top ]
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:
See:  skin_content_meta()


[ Top ]
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:
See:  skin_content_header()


[ Top ]
skin_exists  [line 485]

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


[ Top ]
skin_include  [line 269]

void skin_include( $template_name, [ $params = array()]  )

Template tag. Include a sub-template at the current position

Parameters:
   $template_name: 
   $params: 

Information Tags:
Todo:  plugin hook to handle a special disp

[ Top ]
skin_init  [line 38]

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.


[ Top ]
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.


[ Top ]
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:
   $name: 

API Tags:
Return:  False in case no plugin provides the skin or ID of the first plugin that provides it.
Uses:  Plugin::GetProvidedSkins()


[ Top ]
skin_widget  [line 405]

void skin_widget( array $params  )

Template tag. Display a Widget.

This load the widget class, instantiates it, and displays it.

Parameters:
array   $params: 


[ Top ]


Documentation generated on Sat, 06 Mar 2010 03:40:16 +0100 by phpDocumentor 1.4.2. This site is hosted and maintained by Daniel HAHLER (Contact).