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

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

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