original_string: 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();
      }
code: 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();
      }
code_tokens: 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 ( ) ; }
docstring: Displays the edit collection page
  @param null|integer $collection_id
docstring_tokens: Displays the edit collection page