b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (CVS HEAD) [ class tree: skins ] [ index: skins ] [ all elements ]

Class: custom_Skin

Source Location: /blogs/skins/custom/_skin.class.php

Class custom_Skin

Class Overview

Specific code for this skin.

ATTENTION: if you make a new skin you have to change the class name below accordingly

Located in /blogs/skins/custom/_skin.class.php [line 20]

DataObject
   |
   --Skin
      |
      --custom_Skin
Author(s):
Information Tags:
Version:  beta

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Skin

Skin::$container_list
Skin::$folder
Skin::$name
Skin::$type
Skin::$_trans

Inherited From DataObject

DataObject::$allow_ID_insert
DataObject::$delete_cascades
DataObject::$delete_restrictions
DataObject::$ID

Inherited From Skin

Skin::Skin()
Constructor
Skin::container()
Display a container
Skin::dbinsert()
Insert object into DB based on previously recorded changes.
Skin::dbupdate()
Update the DB based on previously recorded changes
Skin::dbupdate_settings()
Save skin specific settings for current blgo to DB
Skin::db_save_containers()
Save containers
Skin::discover_containers()
Discover containers included in skin file
Skin::display_init()
Get ready for displaying the skin.
Skin::disp_skinshot()
Display skinshot for skin folder in various places.
Skin::get_containers()
Skin::get_default_name()
Get default name for the skin.
Skin::get_default_type()
Get default type for the skin.
Skin::get_name()
Get the customized name for the skin.
Skin::get_param_definitions()
Get definitions for editable params
Skin::get_path()
Get current skin path
Skin::get_setting()
Get a skin specific param value from current Blog
Skin::get_url()
Get current skin URL
Skin::install()
Install current skin to DB
Skin::load_from_Request()
Load data from Request form fields.
Skin::load_params_from_Request()
Load params
Skin::set_setting()
Set a skin specific param value for current Blog
Skin::TS_()
Translate and escape single quotes.
Skin::T_()
Translate a given string, in the Skin's context.

Inherited From DataObject

DataObject::DataObject()
Constructor
DataObject::action_icon()
Generate requested action icon depending on perm
DataObject::action_link()
Generate requested action link depending on perm
DataObject::check_delete()
Check relations for restrictions before deleting
DataObject::check_relations()
Check relations for restrictions or cascades.
DataObject::confirm_delete()
Displays form to confirm deletion of this object
DataObject::dbchange()
Records a change that will need to be updated in the db
DataObject::dbdelete()
Delete object from DB.
DataObject::dbexists()
Check existence of specified value in unique field.
DataObject::dbinsert()
Insert object into DB based on previously recorded changes.
DataObject::dbsave()
Inserts or Updates depending on object state.
DataObject::dbupdate()
Update the DB based on previously recorded changes
DataObject::dget()
Get a ready-to-display member param by its name
DataObject::disp()
Display a member param by its name
DataObject::get()
Get a member param by its name
DataObject::get_action_title()
Generate help title text for action
DataObject::history_info_icon()
Create icon with dataobject history
DataObject::ID()
Template function: Displays object ID.
DataObject::set()
Set param value
DataObject::set_from_Request()
Set a parameter from a Request form value.
DataObject::set_param()
Set param value.
DataObject::set_string_from_param()
Set a string parameter from a Request form value.

[ Top ]
Method Summary
void   display_init()   Get ready for displaying the skin.
void   get_default_name()   Get default name for the skin.
void   get_default_type()   Get default type for the skin.
void   get_param_definitions()   Get definitions for editable params

[ Top ]
Methods
display_init  [line 89]

  void display_init( )

Get ready for displaying the skin.

This may register some CSS or JS...



Redefinition of:
Skin::display_init()
Get ready for displaying the skin.

[ Top ]
get_default_name  [line 26]

  void get_default_name( )

Get default name for the skin.

Note: the admin can customize it.



Redefinition of:
Skin::get_default_name()
Get default name for the skin.

[ Top ]
get_default_type  [line 35]

  void get_default_type( )

Get default type for the skin.



Redefinition of:
Skin::get_default_type()
Get default type for the skin.

[ Top ]
get_param_definitions  [line 47]

  void get_param_definitions( local $params  )

Get definitions for editable params

Parameters:
local   $params:  params like 'for_editing' => true

API Tags:
See:  Plugin::GetDefaultSettings()


Redefinition of:
Skin::get_param_definitions()
Get definitions for editable params

[ Top ]

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