public function export($options = array()) {

	    $itemService = \taoItems_models_classes_ItemsService::singleton();
	    // copy local files
	    $source = $itemService->getItemDirectory($this->getItem());
	    $files = $source->getFlyIterator(Directory::ITERATOR_FILE | Directory::ITERATOR_RECURSIVE);
	    foreach ($files as $file) {
	        $relPath = ltrim($source->getRelPath($file), '/');
	        $this->addFile($file->readStream(), $relPath); 
	    }
	}
public function export($options = array()) {

	    $itemService = \taoItems_models_classes_ItemsService::singleton();
	    // copy local files
	    $source = $itemService->getItemDirectory($this->getItem());
	    $files = $source->getFlyIterator(Directory::ITERATOR_FILE | Directory::ITERATOR_RECURSIVE);
	    foreach ($files as $file) {
	        $relPath = ltrim($source->getRelPath($file), '/');
	        $this->addFile($file->readStream(), $relPath); 
	    }
	}
public function export ( $ options = array ( ) ) { $ itemService = \ taoItems_models_classes_ItemsService :: singleton ( ) ; // copy local files $ source = $ itemService -> getItemDirectory ( $ this -> getItem ( ) ) ; $ files = $ source -> getFlyIterator ( Directory :: ITERATOR_FILE | Directory :: ITERATOR_RECURSIVE ) ; foreach ( $ files as $ file ) { $ relPath = ltrim ( $ source -> getRelPath ( $ file ) , '/' ) ; $ this -> addFile ( $ file -> readStream ( ) , $ relPath ) ; } }
Overriden export for OWIs
@see taoItems_models_classes_ItemExporter::export()
Overriden export for OWIs