Changeset 4665

Show
Ignore:
Timestamp:
07/12/08 19:36:19 (5 months ago)
Author:
guilhermeblanco
Message:

Added possibility to hook custom constructor implementation inside of *Table classes, through the method construct().

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0/lib/Doctrine/Table.php

    r4631 r4665  
    243243        $this->_filters[]  = new Doctrine_Record_Filter_Standard(); 
    244244        $this->_repository = new Doctrine_Table_Repository($this); 
    245     } 
     245         
     246        $this->construct(); 
     247    } 
     248     
     249    /** 
     250     * construct 
     251     * Empty template method to provide concrete Table classes with the possibility 
     252     * to hook into the constructor procedure 
     253     * 
     254     * @return void 
     255     */ 
     256    public function construct() 
     257    { } 
    246258 
    247259    /**