src/Page.php
public function pages($idslug, $field)
    {
        $page = $this->model->getPage($idslug);

        return $page[$field];
    }
public function pages($idslug, $field)
    {
        $page = $this->model->getPage($idslug);

        return $page[$field];
    }
public function pages ( $ idslug , $ field ) { $ page = $ this -> model -> getPage ( $ idslug ) ; return $ page [ $ field ] ; }
Return return field value of a page.

@param mixed  $idslug
@param string $field

@return string
Return return field value of a page .