Exemplo n.º 1
0
 public function readAction()
 {
     //read all the todo items while passing the username and password to authenticate
     $todo_items = TodoItem::getAllItems($this->_params['username'], $this->_params['userpass']);
     //return the list
     return $todo_items;
 }