public function postEdit($id, $data = null)
 {
     $this->validator = array('firstname' => 'required', 'lastname' => 'required', 'email' => 'required');
     if ($data['pass'] == '') {
         unset($data['pass']);
         unset($data['repass']);
     } else {
         $this->validator['pass'] = '******';
     }
     return parent::postEdit($id, $data);
 }
 public function postEdit($id, $data = null)
 {
     $this->validator = array('shopDescription' => 'required');
     //exit();
     return parent::postEdit($id, $data);
 }
 public function postEdit($id, $data = null)
 {
     $this->validator = array('title' => 'required');
     return parent::postEdit($id, $data);
 }
 public function postEdit($id, $data = null)
 {
     $this->validator = array('title' => 'required', 'slug' => 'required');
     $this->backlink = 'content/section';
     return parent::postEdit($id, $data);
 }
 public function postEdit($id, $data = null)
 {
     $this->validator = array('logistic_code' => 'required');
     //exit();
     return parent::postEdit($id, $data);
 }
 public function postEdit($id, $data = null)
 {
     $this->validator = array('name' => 'required', 'venue' => 'required', 'address' => 'required');
     return parent::postEdit($id, $data);
 }
Example #7
0
 public function postEdit($id, $data = null)
 {
     $this->validator = array('SKU' => 'required', 'category' => 'required', 'itemDescription' => 'required', 'priceRegular' => 'required');
     return parent::postEdit($id, $data);
 }
Example #8
0
 public function postEdit($id, $data = null)
 {
     $this->validator = array('SKU' => 'required', 'locationId' => 'required', 'itemDescription' => 'required');
     return parent::postEdit($id, $data);
 }
Example #9
0
 public function postEdit($id, $data = null)
 {
     $this->validator = array();
     //exit();
     return parent::postEdit($id, $data);
 }
 public function postEdit($id, $data = null)
 {
     $this->validator = array('identifier' => 'required');
     //exit();
     return parent::postEdit($id, $data);
 }
 public function postEdit($id, $data = null)
 {
     $this->validator = array('number' => 'required', 'address' => 'required', 'city' => 'required', 'zipCode' => 'required', 'type' => 'required', 'yearBuilt' => 'required', 'FMV' => 'required', 'listingPrice' => 'required');
     return parent::postEdit($id, $data);
 }
 public function postEdit($id, $data = null)
 {
     $this->validator = array('type' => 'required', 'holidayDescription' => 'required');
     return parent::postEdit($id, $data);
 }
 public function postEdit($id, $data = null)
 {
     $this->validator = array('brandName' => 'required', 'productName' => 'required');
     return parent::postEdit($id, $data);
 }
Example #14
0
 public function postEdit($id, $data = null)
 {
     if (isset($data['useImage']) && $data['useImage'] == 'linked') {
         $this->validator = array('itemDescription' => 'required', 'extImageURL' => 'required');
     } else {
         $this->validator = array('itemDescription' => 'required');
     }
     $hobj = Asset::find($id)->toArray();
     $hobj['_id'] = new MongoId($id);
     $hdata['historyTimestamp'] = new MongoDate();
     $hdata['historyAction'] = 'update';
     $hdata['historySequence'] = 0;
     $hdata['historyObjectType'] = 'asset';
     $hdata['historyObject'] = $hobj;
     History::insert($hdata);
     return parent::postEdit($id, $data);
 }
 public function postEdit($id, $data = null)
 {
     $this->validator = array('FMV' => 'required', 'HOA' => 'required', 'address' => 'required', 'bath' => 'required', 'bed' => 'required', 'category' => 'required', 'city' => 'required', 'description' => 'required', 'houseSize' => 'required', 'insurance' => 'required', 'leaseStartDate' => 'required', 'leaseTerms' => 'required', 'listingPrice' => 'required', 'lotSize' => 'required', 'monthlyRental' => 'required', 'number' => 'required', 'propertyManager' => 'required', 'propertyStatus' => 'required', 'section8' => 'required', 'state' => 'required', 'tax' => 'required', 'type' => 'required', 'yearBuilt' => 'required', 'zipCode' => 'required');
     return parent::postEdit($id, $data);
 }
 public function postEdit($id, $data = null)
 {
     $this->validator = array('companyName' => 'required', 'companyCode' => 'required', 'slug' => 'required');
     return parent::postEdit($id, $data);
 }