public function getGeneralQuotes($cid) { if ($this->validateAdmin()) { echo json_encode(Quotation::GetGeneralQuotations($cid)); } else { echo 0; } }