Changeset 3954

Show
Ignore:
Timestamp:
03/08/08 08:33:31 (16 months ago)
Author:
jwage
Message:

Documentation and clean up.

Location:
branches/0.10/lib/Doctrine
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branches/0.10/lib/Doctrine/AuditLog/Listener.php

    r3884 r3954  
    3333class Doctrine_AuditLog_Listener extends Doctrine_Record_Listener 
    3434{ 
    35      
     35    /** 
     36     * _auditLog 
     37     * 
     38     * @var string 
     39     */ 
    3640    protected $_auditLog; 
    3741 
     42    /** 
     43     * __construct() 
     44     * 
     45     * @param string $Doctrine_AuditLog  
     46     * @return void 
     47     */ 
    3848    public function __construct(Doctrine_AuditLog $auditLog)  
    3949    { 
     
    4151    } 
    4252 
     53    /** 
     54     * preInsert 
     55     * 
     56     * @param string $Doctrine_Event  
     57     * @return void 
     58     */ 
    4359    public function preInsert(Doctrine_Event $event) 
    4460    { 
     
    4864    } 
    4965 
     66    /** 
     67     * postInsert 
     68     * 
     69     * @param string $Doctrine_Event  
     70     * @return void 
     71     */ 
    5072    public function postInsert(Doctrine_Event $event)  
    5173    { 
     
    5880    } 
    5981 
     82    /** 
     83     * preDelete 
     84     * 
     85     * @param string $Doctrine_Event  
     86     * @return void 
     87     */ 
    6088    public function preDelete(Doctrine_Event $event) 
    6189    { 
     
    74102    } 
    75103 
     104    /** 
     105     * preUpdate 
     106     * 
     107     * @param string $Doctrine_Event  
     108     * @return void 
     109     */ 
    76110    public function preUpdate(Doctrine_Event $event) 
    77111    { 
  • branches/0.10/lib/Doctrine/Record.php

    r3930 r3954  
    198198 
    199199        $this->construct(); 
    200  
    201     } 
    202  
     200    } 
    203201 
    204202    /** 
     
    18381836            if ($deep) { 
    18391837                foreach ($this->_references as $name => $reference) { 
    1840                     //echo '<pre>'.print_r($reference->toArray(true), true).'</pre>'; 
    18411838                    if ( ! ($reference instanceof Doctrine_Null)) { 
    18421839                        $reference->free($deep); 
  • branches/0.10/lib/Doctrine/Template/Versionable.php

    r3884 r3954  
    3333class Doctrine_Template_Versionable extends Doctrine_Template 
    3434{ 
     35    /** 
     36     * __construct 
     37     * 
     38     * @param string $array  
     39     * @return void 
     40     */ 
    3541    public function __construct(array $options) 
    3642    { 
    3743        $this->_plugin = new Doctrine_AuditLog($options); 
    3844    } 
     45 
     46    /** 
     47     * setUp 
     48     * 
     49     * @return void 
     50     */ 
    3951    public function setUp() 
    4052    { 
     
    4557        $this->addListener(new Doctrine_AuditLog_Listener($this->_plugin)); 
    4658    } 
     59 
     60    /** 
     61     * getAuditLog 
     62     * 
     63     * @return void 
     64     */ 
    4765    public function getAuditLog() 
    4866    { 
    4967        return $this->_plugin; 
    5068    } 
    51  
    5269}