init() public method

This method is called at the end of the constructor. The default implementation will trigger an [[EVENT_INIT]] event. If you override this method, make sure you call the parent implementation at the end to ensure triggering of the event.
public init ( )
コード例 #1
0
 /**
  * Initializes the object.
  */
 public function init()
 {
     parent::init();
     $this->tableName = $this->tableName();
 }