protected function setTrigger($trigger_id)
    {
        $this->data_trigger = array();

        if (is_numeric($trigger_id)) {

            $this->data_trigger = $this->trigger->get($trigger_id);

            if (empty($this->data_trigger)) {
                $this->outputHttpStatus(404);
            }
        }
    }
protected function setTrigger($trigger_id)
    {
        $this->data_trigger = array();

        if (is_numeric($trigger_id)) {

            $this->data_trigger = $this->trigger->get($trigger_id);

            if (empty($this->data_trigger)) {
                $this->outputHttpStatus(404);
            }
        }
    }
protected function setTrigger ( $ trigger_id ) { $ this -> data_trigger = array ( ) ; if ( is_numeric ( $ trigger_id ) ) { $ this -> data_trigger = $ this -> trigger -> get ( $ trigger_id ) ; if ( empty ( $ this -> data_trigger ) ) { $ this -> outputHttpStatus ( 404 ) ; } } }
Sets a trigger data
@param integer $trigger_id
Sets a trigger data