public getBehavior ( string $name ) : null | |
||
$name | string | the behavior name |
return | null | |
the behavior object, or null if the behavior does not exist |
public function getBehavior($name)
{
$this->ensureBehaviors();
return isset($this->_behaviors[$name]) ? $this->_behaviors[$name] : null;
}