-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
I create this ticket to report documentation typos.
#1: http://phalconphp.com/documentation/controllers
function beforeDispatch(){
if (Phalcon_Session::get("hasAuth") == true) {
//Check whether user is authenticated and forwards him to login if not
$this->_forward("session/login");
return false;
}
}
If User has Authorization, then... redirect him to the login page :) ? If i correctly get it, should be false.
#2 http://phalconphp.com/documentation/models
'By default model "Robots" will refers to table "robots"' (refers -> refer)
As long as:
function initialize(){
$this->setSource("the_robots");
}
And comment: 'The model Robots now maps to table "the_birds"' (does it :D ?)
Metadata
Metadata
Assignees
Labels
No labels