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