protected function setTitleEditUserRole()
    {
        if (isset($this->data_role['role_id'])) {
            $title = $this->text('Edit %name', array('%name' => $this->data_role['name']));
        } else {
            $title = $this->text('Add role');
        }

        $this->setTitle($title);
    }
protected function setTitleEditUserRole()
    {
        if (isset($this->data_role['role_id'])) {
            $title = $this->text('Edit %name', array('%name' => $this->data_role['name']));
        } else {
            $title = $this->text('Add role');
        }

        $this->setTitle($title);
    }
protected function setTitleEditUserRole ( ) { if ( isset ( $ this -> data_role [ 'role_id' ] ) ) { $ title = $ this -> text ( 'Edit %name' , array ( '%name' => $ this -> data_role [ 'name' ] ) ) ; } else { $ title = $ this -> text ( 'Add role' ) ; } $ this -> setTitle ( $ title ) ; }
Sets titles on the user role edit page
Sets titles on the user role edit page