ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
PHPExcel_Reader_Excel2007_Theme Class Reference
+ Collaboration diagram for PHPExcel_Reader_Excel2007_Theme:

Public Member Functions

 __construct ($themeName, $colourSchemeName, $colourMap)
 Create a new PHPExcel_Theme.
 getThemeName ()
 Get Theme Name.
 getColourSchemeName ()
 Get colour Scheme Name.
 getColourByIndex ($index=0)
 Get colour Map Value by Position.
 __clone ()
 Implement PHP __clone to create a deep clone, not just a shallow copy.

Private Attributes

 $_themeName
 $_colourSchemeName
 $_colourMapValues
 $_colourMap

Detailed Description

Definition at line 36 of file Theme.php.

Constructor & Destructor Documentation

PHPExcel_Reader_Excel2007_Theme::__construct (   $themeName,
  $colourSchemeName,
  $colourMap 
)

Create a new PHPExcel_Theme.

Definition at line 72 of file Theme.php.

{
// Initialise values
$this->_themeName = $themeName;
$this->_colourSchemeName = $colourSchemeName;
$this->_colourMap = $colourMap;
}

Member Function Documentation

PHPExcel_Reader_Excel2007_Theme::__clone ( )

Implement PHP __clone to create a deep clone, not just a shallow copy.

Definition at line 114 of file Theme.php.

{
$vars = get_object_vars($this);
foreach ($vars as $key => $value) {
if ((is_object($value)) && ($key != '_parent')) {
$this->$key = clone $value;
} else {
$this->$key = $value;
}
}
}
PHPExcel_Reader_Excel2007_Theme::getColourByIndex (   $index = 0)

Get colour Map Value by Position.

Returns
string

Definition at line 104 of file Theme.php.

{
if (isset($this->_colourMap[$index])) {
return $this->_colourMap[$index];
}
return null;
}
PHPExcel_Reader_Excel2007_Theme::getColourSchemeName ( )

Get colour Scheme Name.

Returns
string

Definition at line 95 of file Theme.php.

References $_colourSchemeName.

PHPExcel_Reader_Excel2007_Theme::getThemeName ( )

Get Theme Name.

Returns
string

Definition at line 85 of file Theme.php.

References $_themeName.

{
}

Field Documentation

PHPExcel_Reader_Excel2007_Theme::$_colourMap
private

Definition at line 65 of file Theme.php.

PHPExcel_Reader_Excel2007_Theme::$_colourMapValues
private

Definition at line 57 of file Theme.php.

PHPExcel_Reader_Excel2007_Theme::$_colourSchemeName
private

Definition at line 50 of file Theme.php.

Referenced by getColourSchemeName().

PHPExcel_Reader_Excel2007_Theme::$_themeName
private

Definition at line 43 of file Theme.php.

Referenced by getThemeName().


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