示例#1
0
 /**
  *
  * @param String $uid 
  */
 public function __construct($id)
 {
     $dataMessage = 'Are you sure you want to delete user?';
     $hiddenFields = array('id' => $id);
     parent::__construct($dataMessage, $hiddenFields);
 }
 /**
  *
  * @param Phone_Model_Type
  */
 public function __construct($account)
 {
     $dataMessage = $this->getView()->translate('Are you sure you want to delete this app account: ') . $account->getName() . '?';
     $hiddenFields = array('id' => $account->getId());
     parent::__construct($dataMessage, $hiddenFields);
 }
 /**
  *
  * @param Location_Model_Expertisearea
  */
 public function __construct($model)
 {
     $dataMessage = $this->getView()->translate('Are you sure you want to delete this expertise area: ') . $model->getName() . '?';
     $hiddenFields = array('id' => $model->getId());
     parent::__construct($dataMessage, $hiddenFields);
 }