decorate() public method

Decorates the child with the parent driver lib's methods and properties
public decorate ( $parent ) : void
return void
コード例 #1
0
 /**
  * Decorate
  *
  * Decorates the child with the parent driver lib's methods and properties
  *
  * @param	object	Parent library object
  * @return	void
  */
 public function decorate($parent)
 {
     // Call base class decorate first
     parent::decorate($parent);
     // Call initialize method now that driver has access to $this->_parent
     $this->initialize();
 }