Changeset 873

Show
Ignore:
Timestamp:
08/22/07 17:29:25 (1 year ago)
Author:
mikey
Message:

added some annotations to be used with ioc

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/php/net/stubbles/xml/xsl/util/stubXSLImageDimensions.php

    r346 r873  
    4040     */ 
    4141    protected $path            = null; 
    42      
     42 
    4343    /** 
    4444     * constructor 
    4545     * 
    4646     * @param  stubXMLStreamWriter  $xmlStreamWriter  the xml stream writer to create the document with 
     47     * @Inject 
    4748     */ 
    4849    public function __construct(stubXMLStreamWriter $xmlStreamWriter) 
     
    5051        $this->xmlStreamWriter = $xmlStreamWriter; 
    5152    } 
    52      
     53 
    5354    /** 
    5455     * sets the path to the images 
    5556     * 
    5657     * @param  string  $path 
     58     * @Inject 
     59     * @Named('imagePath') 
    5760     */ 
    5861    public function setPath($path) 
     
    6063        $this->path = $path; 
    6164    } 
    62      
     65 
    6366    /** 
    6467     * takes a dom attribute and return the image informations for the first one 
     
    99102        return $doc; 
    100103    } 
    101      
     104 
    102105    /** 
    103106     * returns the image type as string