| applications_cms

# Class: Bs_Cms_BlockTextType Source Location: /applications/cms/Bs_Cms_BlockTextType.class.php
### Class Overview
    Bs_Cms_Block
       |
       --Bs_Cms_BlockTextType
| ### Methods Bs_Cms_BlockTextType bs_fia_loadHintsBlock listTextTypeStyles OLD_bs_fia_loadHints render render_OLD _generateXml _getBgColor _getFontColor _getStyleName _getStyleSource _loadFromIni _loadFromXml _storeAsIni _updateVarsFromDefaultStyle
### Inherited Variables #### Class: Bs_Cms_Block Bs_Cms_Block::$blockFullPath Bs_Cms_Block::$blockJunks Bs_Cms_Block::$blockName Bs_Cms_Block::$Bs_HeadCollector Bs_Cms_Block::$data Bs_Cms_Block::$user Bs_Cms_Block::$xmlProps Bs_Cms_Block::$_failed Bs_Cms_Block::$_failedReason Bs_Cms_Block::$_xPath | ### Inherited Methods #### Class: Bs_Cms_Block Bs_Cms_Block::Bs_Cms_Block() constructor. Bs_Cms_Block::bs_fia_getHints() CALLBACK Funtion of Bs_FormItAble Bs_Cms_Block::bs_fia_loadHints() Bs_Cms_Block::edit() Bs_Cms_Block::initByFullPath() inits the object by the given full path to the block file. Bs_Cms_Block::isEditable() Bs_Cms_Block::load() Bs_Cms_Block::loadFromIni() Bs_Cms_Block::loadFromXml() Bs_Cms_Block::render() Bs_Cms_Block::store() Bs_Cms_Block::_generateXmlHelper() Bs_Cms_Block::_loadFromIni() overwrite this method. Bs_Cms_Block::_loadFromXml() Bs_Cms_Block::_loadFromXmlHelper()
### Class Details [line 10] [ Top ] ### Class Methods ### constructor Bs_Cms_BlockTextType [line 44]
`Bs_Cms_BlockTextType Bs_Cms_BlockTextType( [mixed $xmlProps = NULL], [mixed $blockName = NULL], [mixed $blockJunks = NULL], [mixed $blockFullPath = NULL])`
constructor. [ Top ] ### method bs_fia_loadHintsBlock [line 206]
`void bs_fia_loadHintsBlock( )`
[ Top ] ### method listTextTypeStyles [line 468]
`array listTextTypeStyles( [mixed $source = 'system'], string $srouce)`
returns a list of all available texttype styles. #### Tags:
return: | (vector filled with strings, may be empty.)
#### Parameters:
string | $srouce | (currently only 'system' is supported, 'user' will be added.)
[ Top ] ### method OLD_bs_fia_loadHints [line 299]
`void OLD_bs_fia_loadHints( )`
loads the fia hints. needed to be able to modify them from outside. #### Tags:
access: | public
[ Top ] ### method render [line 54]
`string render( )`
render the block. #### Tags:
return: | (html code)
access: | public
Overrides Bs_Cms_Block::render() (parent method not documented) [ Top ] ### method render_OLD [line 515]
`string render_OLD( )`
#### Tags:
access: | public
[ Top ] ### method _generateXml [line 197]
`void _generateXml( )`
[ Top ] ### method _getBgColor [line 631]
`string _getBgColor( )`
returns the background color that has to be used. #### Tags:
return: | (or NULL)
access: | public
[ Top ] ### method _getFontColor [line 619]
`string _getFontColor( )`
returns the font color that has to be used. #### Tags:
return: | (or NULL)
access: | public
[ Top ] ### method _getStyleName [line 607]
`string _getStyleName( )`
returns the style name that has to be used. #### Tags:
access: | public
[ Top ] ### method _getStyleSource [line 595]
`string _getStyleSource( )`
returns the style source that has to be used. #### Tags:
access: | public
[ Top ] ### method _loadFromIni [line 168]
`bool _loadFromIni( )`
#### Tags:
access: | public
Overrides Bs_Cms_Block::_loadFromIni() (overwrite this method.) [ Top ] ### method _loadFromXml [line 189]
`void _loadFromXml( )`
Overrides Bs_Cms_Block::_loadFromXml() (parent method not documented) [ Top ] ### method _storeAsIni [line 143]
`bool _storeAsIni( )`
#### Tags:
access: | public
[ Top ] ### method _updateVarsFromDefaultStyle [line 491]
`void _updateVarsFromDefaultStyle( )`
[ Top ] Documentation generated on Mon, 29 Dec 2003 21:08:16 +0100 by phpDocumentor 1.2.3