当前位置: 首页>>代码示例>>PHP>>正文


PHP AdminController::postEdit方法代码示例

本文整理汇总了PHP中AdminController::postEdit方法的典型用法代码示例。如果您正苦于以下问题:PHP AdminController::postEdit方法的具体用法?PHP AdminController::postEdit怎么用?PHP AdminController::postEdit使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在AdminController的用法示例。


在下文中一共展示了AdminController::postEdit方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: postEdit

 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'] = 'required|same:repass';
     }
     return parent::postEdit($id, $data);
 }
开发者ID:awidarto,项目名称:bilnatracker,代码行数:11,代码来源:ProfileController.php

示例2: postEdit

 public function postEdit($id, $data = null)
 {
     $this->validator = array('shopDescription' => 'required');
     //exit();
     return parent::postEdit($id, $data);
 }
开发者ID:awidarto,项目名称:jexadmin,代码行数:6,代码来源:OrderarchiveController.php

示例3: postEdit

 public function postEdit($id, $data = null)
 {
     $this->validator = array('title' => 'required', 'slug' => 'required');
     $this->backlink = 'content/section';
     return parent::postEdit($id, $data);
 }
开发者ID:awidarto,项目名称:tmadminflat,代码行数:6,代码来源:SectionController.php

示例4: postEdit

 public function postEdit($id, $data = null)
 {
     $this->validator = array('name' => 'required', 'venue' => 'required', 'address' => 'required');
     return parent::postEdit($id, $data);
 }
开发者ID:awidarto,项目名称:bilnatracker,代码行数:5,代码来源:OutletController.php

示例5: postEdit

 public function postEdit($id, $data = null)
 {
     $this->validator = array('SKU' => 'required', 'category' => 'required', 'itemDescription' => 'required', 'priceRegular' => 'required');
     return parent::postEdit($id, $data);
 }
开发者ID:awidarto,项目名称:tmadminflat,代码行数:5,代码来源:PosController.php

示例6: postEdit

 public function postEdit($id, $data = null)
 {
     $this->validator = array();
     //exit();
     return parent::postEdit($id, $data);
 }
开发者ID:awidarto,项目名称:jexadmin,代码行数:6,代码来源:DeviceController.php

示例7: postEdit

 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);
 }
开发者ID:awidarto,项目名称:tmadminflat,代码行数:5,代码来源:TransactionController.php

示例8: postEdit

 public function postEdit($id, $data = null)
 {
     $this->validator = array('type' => 'required', 'holidayDescription' => 'required');
     return parent::postEdit($id, $data);
 }
开发者ID:awidarto,项目名称:bilnatracker,代码行数:5,代码来源:HolidayController.php

示例9: postEdit

 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);
 }
开发者ID:awidarto,项目名称:bilnatracker,代码行数:17,代码来源:AssetController.php

示例10: postEdit

 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);
 }
开发者ID:awidarto,项目名称:tmadminflat,代码行数:5,代码来源:PropertyController.php


注:本文中的AdminController::postEdit方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。