Beispiel #1
0
 public function createAccount()
 {
     $this->setHTTPAccountCompany();
     $this->injectPOCNameInCompany();
     $this->createNewRecord($this->company, "companies");
     $this->injectSaltInAccount();
     $this->injectCompanyIDInAccount();
     parent::createNewRecord($this->account, "accounts");
 }
Beispiel #2
0
 public function getProjectById($id)
 {
     if (is_numeric($id)) {
         $item = "*";
         $table = "projects";
         $column = "ID";
         $value = $id;
         $result = parent::selectItemWhereColEquals($item, $table, $column, $value);
         return $result;
     }
 }