54        parent::__construct();
 
   63        return basename($this->_path);
 
   73        $fileName = str_replace(
' ', 
'_', $fileName);
 
   83        $exploded = explode(
".", basename($this->_path));
 
   84        return $exploded[count($exploded) - 1];
 
  104    public function setPath($pValue = 
'', $pVerifyFile = 
true) {
 
  106                if (file_exists($pValue)) {
 
  107                        $this->_path = $pValue;
 
  109                        if ($this->_width == 0 && $this->_height == 0) {
 
  111                                list($this->_width, $this->_height) = getimagesize($pValue);
 
  117                $this->_path = $pValue;
 
  130                . parent::getHashCode()
 
  139                $vars = get_object_vars($this);
 
  140                foreach ($vars as 
$key => $value) {
 
  141                        if (is_object($value)) {
 
  142                                $this->
$key = clone $value;
 
  144                                $this->
$key = $value;
 
An exception for terminatinating execution or to throw for unit testing.
getImageIndex()
Get image index.
__clone()
Implement PHP __clone to create a deep clone, not just a shallow copy.
getFilename()
Get Filename.
getExtension()
Get Extension.
getHashCode()
Get hash code.
setPath($pValue='', $pVerifyFile=true)
Set Path.
__construct()
Create a new PHPExcel_Worksheet_Drawing.
getIndexedFilename()
Get indexed filename (using image index)