72 public function __construct($themeName,$colourSchemeName,$colourMap)
75 $this->_themeName = $themeName;
76 $this->_colourSchemeName = $colourSchemeName;
77 $this->_colourMap = $colourMap;
105 if (isset($this->_colourMap[$index])) {
106 return $this->_colourMap[$index];
115 $vars = get_object_vars($this);
116 foreach ($vars as $key => $value) {
117 if ((is_object($value)) && ($key !=
'_parent')) {
118 $this->$key = clone $value;
120 $this->$key = $value;
getColourByIndex($index=0)
Get colour Map Value by Position.
__construct($themeName, $colourSchemeName, $colourMap)
Create a new PHPExcel_Theme.
__clone()
Implement PHP __clone to create a deep clone, not just a shallow copy.
getThemeName()
Get Theme Name.
getColourSchemeName()
Get colour Scheme Name.