protected function setTitleEditTrigger()
    {
        if (isset($this->data_trigger['name'])) {
            $title = $this->text('Edit %name', array('%name' => $this->data_trigger['name']));
        } else {
            $title = $this->text('Add trigger');
        }

        $this->setTitle($title);
    }
protected function setTitleEditTrigger()
    {
        if (isset($this->data_trigger['name'])) {
            $title = $this->text('Edit %name', array('%name' => $this->data_trigger['name']));
        } else {
            $title = $this->text('Add trigger');
        }

        $this->setTitle($title);
    }
protected function setTitleEditTrigger ( ) { if ( isset ( $ this -> data_trigger [ 'name' ] ) ) { $ title = $ this -> text ( 'Edit %name' , array ( '%name' => $ this -> data_trigger [ 'name' ] ) ) ; } else { $ title = $ this -> text ( 'Add trigger' ) ; } $ this -> setTitle ( $ title ) ; }
Sets title on the edit trigger page
Sets title on the edit trigger page