Skip to content

Documentation typos #3

@mailopl

Description

@mailopl

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions