Пример #1
0
 public function checkSettings()
 {
     parent::checkSettings();
     if (!isset($this->file)) {
         throw new Kwf_ClientException("Required parameter: file");
     }
 }
 public function checkSettings()
 {
     parent::checkSettings();
     if (!$this->key || !$this->class) {
         throw new Kwf_Exception_Client("Required parameters: key, class");
     }
 }
 public function checkSettings()
 {
     parent::checkSettings();
     if (!$this->id) {
         throw new Kwf_ClientException("Required parameters: id");
     }
 }
 public function checkSettings()
 {
     parent::checkSettings();
     if (!$this->search || is_null($this->replace)) {
         throw new Kwf_ClientException("Required parameters: search, replace");
     }
 }