本文整理汇总了PHP中AdminController::postAdd方法的典型用法代码示例。如果您正苦于以下问题:PHP AdminController::postAdd方法的具体用法?PHP AdminController::postAdd怎么用?PHP AdminController::postAdd使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类AdminController
的用法示例。
在下文中一共展示了AdminController::postAdd方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: postAdd
public function postAdd($data = null)
{
$this->validator = array('title' => 'required');
return parent::postAdd($data);
}
示例2: postAdd
public function postAdd($data = null)
{
$this->validator = array('firstname' => 'required', 'lastname' => 'required', 'email' => 'required|unique:agents', 'pass' => 'required|same:repass');
return parent::postAdd($data);
}
示例3: postAdd
public function postAdd($data = null)
{
$this->validator = array('title' => 'required', 'slug' => 'required');
$this->backlink = 'content/section';
return parent::postAdd($data);
}
示例4: postAdd
public function postAdd($data = null)
{
$this->validator = array('name' => 'required', 'venue' => 'required', 'address' => 'required');
return parent::postAdd($data);
}
示例5: postAdd
public function postAdd($data = null)
{
$this->validator = array();
return parent::postAdd($data);
}
示例6: postAdd
public function postAdd($data = null)
{
$this->validator = array('number' => 'required', 'address' => 'required', 'city' => 'required', 'zipCode' => 'required', 'type' => 'required', 'yearBuilt' => 'required', 'FMV' => 'required', 'listingPrice' => 'required');
return parent::postAdd($data);
}
示例7: postAdd
public function postAdd($data = null)
{
$this->validator = array('brandName' => 'required', 'productName' => 'required');
return parent::postAdd($data);
}
示例8: postAdd
public function postAdd($data = null)
{
if (isset($data['useImage']) && $data['useImage'] == 'linked') {
$this->validator = array('itemDescription' => 'required', 'extImageURL' => 'required');
} else {
$this->validator = array('itemDescription' => 'required');
}
return parent::postAdd($data);
}
示例9: postAdd
public function postAdd($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::postAdd($data);
}