Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorsuthern
     

    I looked around a bit to find out how, but the example in AkActiveRecord does not cover that.

    Perhaps an updated example like the below should be used in it's place? $this->users = $this->User->find('all', array( 'conditions' => array('first_name = ? AND last_name = ?',$this->params['first_name'],$this->params['last_name']) ));

    • CommentAuthorKaste
     

    submit DOC-patches in the TRAC if you like.

    somewhere around line 100 in AkActiveRecord.php, we actually have

    findFirst("user_name = ? AND password = ?", $user_name, $password);
    
    • CommentAuthorsuthern
     

    Yup, that was the example I was referring to. It wasn't real clear (at least to me) how to do it in a find function. Thanks though.