code/libraries/joomlatools/library/behavior/mixin/mixin.php
public function getBehavior($name)
    {
        $result = null;

        if(isset($this->__behaviors[$name])) {
            $result = $this->__behaviors[$name];
        }

        return $result;
    }
public function getBehavior($name)
    {
        $result = null;

        if(isset($this->__behaviors[$name])) {
            $result = $this->__behaviors[$name];
        }

        return $result;
    }
public function getBehavior ( $ name ) { $ result = null ; if ( isset ( $ this -> __behaviors [ $ name ] ) ) { $ result = $ this -> __behaviors [ $ name ] ; } return $ result ; }
Get a behavior by name

@param  string  $name   The behavior name
@return KBehaviorInterface
Get a behavior by name