protected function validateEditTrigger()
    {
        $this->setSubmitted('trigger', null, false);
        $this->setSubmittedBool('status');
        $this->setSubmittedArray('data.conditions');
        $this->setSubmitted('update', $this->data_trigger);

        $this->validateComponent('trigger');

        return !$this->hasErrors();
    }
protected function validateEditTrigger()
    {
        $this->setSubmitted('trigger', null, false);
        $this->setSubmittedBool('status');
        $this->setSubmittedArray('data.conditions');
        $this->setSubmitted('update', $this->data_trigger);

        $this->validateComponent('trigger');

        return !$this->hasErrors();
    }
protected function validateEditTrigger ( ) { $ this -> setSubmitted ( 'trigger' , null , false ) ; $ this -> setSubmittedBool ( 'status' ) ; $ this -> setSubmittedArray ( 'data.conditions' ) ; $ this -> setSubmitted ( 'update' , $ this -> data_trigger ) ; $ this -> validateComponent ( 'trigger' ) ; return ! $ this -> hasErrors ( ) ; }
Validates a submitted trigger
@return bool
Validates a submitted trigger