public function action_projects()
{
if( ! empty($_POST))
{
$errors = $this->add_project();
}
else
{
$errors = NULL;
}
$this->list_project($errors);
}
protected function add_project()
{
return validate::check;
}
protected function list_project($errors)
{
View::render();
} It looks like you're new here. If you want to get involved, click one of these buttons!