Пример #1
0
 public function getQuotationDetailsAndTax($id = null, $data)
 {
     // ... validate $data properties such as $data->username, $data->firstName, etc.
     $data->id = $id;
     $Quotation = Quotation::getQuotationDetailsAndTax($data);
     // saving the user to the database
     return $Quotation;
     // returning the updated or newly created user object
 }