Example #1
0
 protected function _getOnDeleteErrorMessage(Entity $todoList)
 {
     $message = "todoList '" . $todoList->getName() . "'";
     $message .= " could not be deleted from project '" . $todoList->getProjectId() . "'";
     return $message;
 }
Example #2
0
 /**
  * Instantiate a new todoList entity
  *
  * @return \Sirprize\Basecamp\TodoList\Entity
  */
 public function getTodoListInstance()
 {
     $todoList = new Entity();
     $todoList->setHttpClient($this->_getHttpClient())->setService($this->_getService());
     return $todoList;
 }