Changeset 873
- Timestamp:
- 08/22/07 17:29:25 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/xml/xsl/util/stubXSLImageDimensions.php
r346 r873 40 40 */ 41 41 protected $path = null; 42 42 43 43 /** 44 44 * constructor 45 45 * 46 46 * @param stubXMLStreamWriter $xmlStreamWriter the xml stream writer to create the document with 47 * @Inject 47 48 */ 48 49 public function __construct(stubXMLStreamWriter $xmlStreamWriter) … … 50 51 $this->xmlStreamWriter = $xmlStreamWriter; 51 52 } 52 53 53 54 /** 54 55 * sets the path to the images 55 56 * 56 57 * @param string $path 58 * @Inject 59 * @Named('imagePath') 57 60 */ 58 61 public function setPath($path) … … 60 63 $this->path = $path; 61 64 } 62 65 63 66 /** 64 67 * takes a dom attribute and return the image informations for the first one … … 99 102 return $doc; 100 103 } 101 104 102 105 /** 103 106 * returns the image type as string
