public function loadAny()
    {
        if ($this->loaded()) {
            $this->unload();
        }
        $this->hook('beforeLoad', array('loadAny', array()));

        $this->controller->loadByConditions($this);

        $this->endLoad();

        return $this;
    }
public function loadAny()
    {
        if ($this->loaded()) {
            $this->unload();
        }
        $this->hook('beforeLoad', array('loadAny', array()));

        $this->controller->loadByConditions($this);

        $this->endLoad();

        return $this;
    }
public function loadAny ( ) { if ( $ this -> loaded ( ) ) { $ this -> unload ( ) ; } $ this -> hook ( 'beforeLoad' , array ( 'loadAny' , array ( ) ) ) ; $ this -> controller -> loadByConditions ( $ this ) ; $ this -> endLoad ( ) ; return $ this ; }
Like tryLoadAny method but if the record not found, an exception is thrown.

@return $this
Like tryLoadAny method but if the record not found an exception is thrown .