1<?php 2/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */ 3 4include_once('Services/FileSystem/classes/class.ilFileSystemStorage.php'); 5/** 6* 7* @author Jörg Lützenkirchen <luetzenkirchen@leifos.com> 8* @version $Id$ 9* 10* @ingroup ServicesVerification 11*/ 12class ilVerificationStorageFile extends ilFileSystemStorage 13{ 14 /** 15 * Constructor 16 * 17 * @access public 18 * @param int storage type 19 * @param bool En/Disable automatic path conversion. If enabled files with id 123 will be stored in directory files/1/file_123 20 * @param int object id of container (e.g file_id or mob_id) 21 * 22 */ 23 public function __construct($a_container_id = 0) 24 { 25 parent::__construct(self::STORAGE_DATA, true, $a_container_id); 26 } 27 28 /** 29 * Implementation of abstract method 30 * 31 * @access protected 32 * 33 */ 34 protected function getPathPostfix() 35 { 36 return 'vrfc'; 37 } 38 39 /** 40 * Implementation of abstract method 41 * 42 * @access protected 43 * 44 */ 45 protected function getPathPrefix() 46 { 47 return 'ilVerification'; 48 } 49} 50