protected function setCollectionCollectionItem($collection_item_id)
    {
        $this->data_collection_item = array();

        if (is_numeric($collection_item_id)) {

            $this->data_collection_item = $this->collection_item->get($collection_item_id);

            if (empty($this->data_collection_item)) {
                $this->outputHttpStatus(404);
            }

            $this->prepareCollectionItem($this->data_collection_item);
        }
    }
protected function setCollectionCollectionItem($collection_item_id)
    {
        $this->data_collection_item = array();

        if (is_numeric($collection_item_id)) {

            $this->data_collection_item = $this->collection_item->get($collection_item_id);

            if (empty($this->data_collection_item)) {
                $this->outputHttpStatus(404);
            }

            $this->prepareCollectionItem($this->data_collection_item);
        }
    }
protected function setCollectionCollectionItem ( $ collection_item_id ) { $ this -> data_collection_item = array ( ) ; if ( is_numeric ( $ collection_item_id ) ) { $ this -> data_collection_item = $ this -> collection_item -> get ( $ collection_item_id ) ; if ( empty ( $ this -> data_collection_item ) ) { $ this -> outputHttpStatus ( 404 ) ; } $ this -> prepareCollectionItem ( $ this -> data_collection_item ) ; } }
Sets a collection item data
@param integer $collection_item_id
Sets a collection item data