BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
Skins\Chameleon\ComponentFactory Class Reference
Collaboration diagram for Skins\Chameleon\ComponentFactory:

Public Member Functions

 __construct ($layoutFileName)
 
 getRootComponent ()
 
 setLayoutFile ($fileName)
 
 getComponent (DOMElement $description, $indent=0, $htmlClassAttribute= '')
 
 getSkinTemplate ()
 
 setSkinTemplate (ChameleonTemplate $skinTemplate)
 
 sanitizeFileName ($fileName)
 

Public Attributes

const NAMESPACE_HIERARCHY = 'Skins\\Chameleon\\Components'
 

Protected Member Functions

 getLayoutFile ()
 
 getComponentClassName (DOMElement $description)
 
 mapDescriptionToClassName (DOMElement $description)
 
 getModifiedComponent (DOMElement $description, Component $component)
 
 mapComponentDescriptionToClassName (DOMElement $description)
 

Detailed Description

Class ComponentFactory

Author
Stephan Gambke
Since
1.0

Constructor & Destructor Documentation

Skins\Chameleon\ComponentFactory::__construct (   $layoutFileName)
Parameters
string$layoutFileName

Member Function Documentation

Skins\Chameleon\ComponentFactory::getComponent ( DOMElement  $description,
  $indent = 0,
  $htmlClassAttribute = '' 
)
Parameters
DOMElement$description
int$indent
string$htmlClassAttribute
Exceptions
MWException
Returns
Skins\Chameleon\ComponentFactory::getComponentClassName ( DOMElement  $description)
protected
Parameters
DOMElement$description
Returns
string
Exceptions
MWException
Since
1.1
Skins\Chameleon\ComponentFactory::getLayoutFile ( )
protected
Returns
string
Skins\Chameleon\ComponentFactory::getModifiedComponent ( DOMElement  $description,
Component  $component 
)
protected
Parameters
DOMElement$description
Component$component
Returns
mixed
Exceptions
MWException
Skins\Chameleon\ComponentFactory::getRootComponent ( )
Returns
Container
Exceptions
MWException
Skins\Chameleon\ComponentFactory::getSkinTemplate ( )
Returns
mixed
Skins\Chameleon\ComponentFactory::mapComponentDescriptionToClassName ( DOMElement  $description)
protected
Parameters
DOMElement$description
Returns
string
Skins\Chameleon\ComponentFactory::mapDescriptionToClassName ( DOMElement  $description)
protected
Parameters
DOMElement$description
Returns
string
Exceptions
MWException
Skins\Chameleon\ComponentFactory::sanitizeFileName (   $fileName)
Parameters
string$fileName
Returns
string
Skins\Chameleon\ComponentFactory::setLayoutFile (   $fileName)
Parameters
string$fileName
Skins\Chameleon\ComponentFactory::setSkinTemplate ( ChameleonTemplate  $skinTemplate)
Parameters
ChameleonTemplate$skinTemplate

The documentation for this class was generated from the following file: