public function editCollection($collection_id = null)
    {
        $this->setCollection($collection_id);
        $this->setTitleEditCollection();
        $this->setBreadcrumbEditCollection();

        $this->setData('types', $this->collection->getTypes());
        $this->setData('collection', $this->data_collection);
        $this->setData('can_delete', $this->canDeleteCollection());
        $this->setData('languages', $this->language->getList(array('enabled' => true)));

        $this->submitEditCollection();
        $this->outputEditCollection();
    }
public function editCollection($collection_id = null)
    {
        $this->setCollection($collection_id);
        $this->setTitleEditCollection();
        $this->setBreadcrumbEditCollection();

        $this->setData('types', $this->collection->getTypes());
        $this->setData('collection', $this->data_collection);
        $this->setData('can_delete', $this->canDeleteCollection());
        $this->setData('languages', $this->language->getList(array('enabled' => true)));

        $this->submitEditCollection();
        $this->outputEditCollection();
    }
public function editCollection ( $ collection_id = null ) { $ this -> setCollection ( $ collection_id ) ; $ this -> setTitleEditCollection ( ) ; $ this -> setBreadcrumbEditCollection ( ) ; $ this -> setData ( 'types' , $ this -> collection -> getTypes ( ) ) ; $ this -> setData ( 'collection' , $ this -> data_collection ) ; $ this -> setData ( 'can_delete' , $ this -> canDeleteCollection ( ) ) ; $ this -> setData ( 'languages' , $ this -> language -> getList ( array ( 'enabled' => true ) ) ) ; $ this -> submitEditCollection ( ) ; $ this -> outputEditCollection ( ) ; }
Displays the edit collection page
@param null|integer $collection_id
Displays the edit collection page