b2evolution

Multilingual multiuser multiblog engine

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

Procedural File: _skin.funcs.php

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

Page Details

This file implements evoSkins support functions.

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.7.2.7.2.2 2007/04/25 22:17:53 fplanque Exp $
Copyright:  (c)2003-2007 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
skin_base_tag  [line 33]

void skin_base_tag( )

Template function: output HTML base tag to current skin



[ Top ]
skin_change_url  [line 267]

void skin_change_url( [boolean $display = true]  )
Parameters:
boolean   $display:  display (true) or return?


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


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


[ Top ]
skin_exists  [line 128]

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


[ Top ]
skin_list_iteminfo  [line 239]

void skin_list_iteminfo( [ $what = ''], [ $display = true]  )

skin_list_iteminfo(-)

Display info about item

fplanque: created

Parameters:
   $what: 
   $display: 


[ Top ]
skin_list_next  [line 212]

string skin_list_next( )

Get next skin

Lists all folders in skin directory, except the ones starting with a . (UNIX style) or a _ (FrontPage style)


API Tags:
Return:  skin name


[ Top ]
skin_list_start  [line 191]

void skin_list_start( )

Initializes skin list iterator

lists all folders in skin directory



[ Top ]
skin_options  [line 153]

void skin_options( [ $default = '']  )

Outputs an <option> set with default skin selected

skin_options(-)

Parameters:
   $default: 


[ Top ]
skin_options_return  [line 164]

string skin_options_return( [ $default = '']  )

Returns an <option> set with default skin selected

Parameters:
   $default: 


[ Top ]
skin_provided_by_plugin  [line 100]

false|integer skin_provided_by_plugin( $name  )

Checks if a skin is provided by a plugin.

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 ]


Documentation generated on Tue, 20 May 2008 01:45:32 +0200 by phpDocumentor 1.4.2