Changeset 335 for cleversvg/trunk/base/csBaseElement.class.php
- Timestamp:
- 03/02/08 15:12:12 (4 years ago)
- Files:
-
- 1 modified
-
cleversvg/trunk/base/csBaseElement.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cleversvg/trunk/base/csBaseElement.class.php
r326 r335 109 109 public function getDepth() 110 110 { 111 if (isset($this->attributes['depth'])) 112 { 113 return (int) $this->attributes['depth']; 111 if (array_key_exists('style', $this->attributes) && 112 array_key_exists('z-index', $this->attributes['style'])) 113 { 114 return (int) $this->attributes['style']['z-index']; 114 115 } 115 116 else … … 139 140 * @return string 140 141 */ 141 p rotected function getElementName($embedded=false)142 public function getElementName($embedded = false) 142 143 { 143 144 if ($embedded === true)
