public function editCollectionItem($collection_id, $collection_item_id = null)
    {
        $this->setCollectionCollection($collection_id);
        $this->setCollectionCollectionItem($collection_item_id);
        $this->setTitleEditCollectionItem();
        $this->setBreadcrumbEditCollectionItem();

        $this->setData('collection', $this->data_collection);
        $this->setData('collection_item', $this->data_collection_item);
        $this->setData('handler', $this->getHandlerCollectionItem());
        $this->setData('weight', $this->collection_item->getNextWeight($collection_id));

        $this->submitEditCollectionItem();

        $this->setJsEditCollectionItem();
        $this->outputEditCollectionItem();
    }
public function editCollectionItem($collection_id, $collection_item_id = null)
    {
        $this->setCollectionCollection($collection_id);
        $this->setCollectionCollectionItem($collection_item_id);
        $this->setTitleEditCollectionItem();
        $this->setBreadcrumbEditCollectionItem();

        $this->setData('collection', $this->data_collection);
        $this->setData('collection_item', $this->data_collection_item);
        $this->setData('handler', $this->getHandlerCollectionItem());
        $this->setData('weight', $this->collection_item->getNextWeight($collection_id));

        $this->submitEditCollectionItem();

        $this->setJsEditCollectionItem();
        $this->outputEditCollectionItem();
    }
public function editCollectionItem ( $ collection_id , $ collection_item_id = null ) { $ this -> setCollectionCollection ( $ collection_id ) ; $ this -> setCollectionCollectionItem ( $ collection_item_id ) ; $ this -> setTitleEditCollectionItem ( ) ; $ this -> setBreadcrumbEditCollectionItem ( ) ; $ this -> setData ( 'collection' , $ this -> data_collection ) ; $ this -> setData ( 'collection_item' , $ this -> data_collection_item ) ; $ this -> setData ( 'handler' , $ this -> getHandlerCollectionItem ( ) ) ; $ this -> setData ( 'weight' , $ this -> collection_item -> getNextWeight ( $ collection_id ) ) ; $ this -> submitEditCollectionItem ( ) ; $ this -> setJsEditCollectionItem ( ) ; $ this -> outputEditCollectionItem ( ) ; }
Displays the edit collection item form
@param integer $collection_id
@param string|int|null $collection_item_id
Displays the edit collection item form