Class cContentTypeFilelist
Content type CMS_FILELIST which lets the editor select some folders or files. The corresponding files are then shown in the frontend.
- cContentTypeAbstract
- 
			 cContentTypeAbstractTabbed cContentTypeAbstractTabbed
- 
			 cContentTypeFilelist cContentTypeFilelist
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Dominik Ziegler, Timo Trautmann, Simon Sprankel
Located at classes/content_types/class.content.type.filelist.php
| 
			 public 
			
			
			 | 
		#
		 __construct( string $rawSettings, integer $id, array $contentTypes )Initialises class attributes and handles store events. | 
| 
			 public static
			array
			
			 | |
| 
			 protected 
			
			
			 | 
		#
		 _readSettings( )Reads all settings from the $_rawSettings attribute (XML or plaintext) and stores them in the $_settings attribute (associative array or plaintext). | 
| 
			 public 
			string
			
			 | 
		#
		 generateViewCode( )Generates the code which should be shown if this content type is shown in the frontend. | 
| 
			 public 
			
			
			 | |
| 
			 public 
			string
			
			 | 
		#
		 generateFileListCode( )Function is called in edit- and viewmode in order to generate code for output. | 
| 
			 private 
			array
			
			 | 
		#
		 _getAllSubdirectories( string $directoryPath, array $directories )Gets all subdirectories recursively. | 
| 
			 private 
			array
			
			 | |
| 
			 private 
			boolean
			
			 | |
| 
			 private 
			
			
			 | 
		#
		 _fillFileListTemplateEntry( array $fileData, Method to fill single entry (file) of the file list. | 
| 
			 public 
			string
			
			 | |
| 
			 private 
			string
			
			 | |
| 
			 private 
			string
			
			 | |
| 
			 private 
			string
			
			 | |
| 
			 private 
			string
			
			 | |
| 
			 private 
			string
			
			 | |
| 
			 private 
			string
			
			 | |
| 
			 private 
			string
			
			 | |
| 
			 private 
			string
			
			 | |
| 
			 protected 
			boolean
			
			 | 
		#
		 _isActiveDirectory( array $dirData )Checks whether the directory defined by the given directory information is the currently active directory. | 
| 
			 protected 
			boolean
			
			 | 
		#
		 _shouldDirectoryBeExpanded( array $dirData )Checks whether the directory defined by the given directory information should be shown expanded. | 
| 
			 private 
			string
			
			 | |
| 
			 private 
			string
			
			 | 
		#
		 _generateExistingFileSelect( )Generate a select box containing the already existing files in the manual tab. | 
| 
			 public 
			string
			
			 | 
		#
		 generateFileSelect( string $directoryPath = '' )Generate a select box containing all files for the manual tab. | 
| 
			_generateActionCode(), 
			_generateTabMenuCode(), 
			_getRawSettings()
		 | 
| 
			_encodeForOutput(), 
			_isSubdirectory(), 
			_storeSettings(), 
			buildDirectoryList(), 
			generateDirectoryList(), 
			getConfiguration(), 
			isWysiwygCompatible()
		 | 
| 
			SETTINGS_TYPE_PLAINTEXT, 
			SETTINGS_TYPE_XML
		 | 
| 
			private  
			array
		 | $_fileExtensions Default file extensions. | 
				#
				 array(
    'gif',
    'jpeg',
    'jpg',
    'png',
    'doc',
    'xls',
    'pdf',
    'txt',
    'zip',
    'ppt'
) | 
| 
			private  
			array
		 | $_metaDataIdents Meta data identifiers. | 
				#
				 array(
    'description' => 'Description',
    'medianame' => 'Media name',
    'copyright' => 'Copyright',
    'keywords' => 'Keywords',
    'internal_notice' => 'Internal notes'
) | 
| 
			private  
			array
		 | $_dateFields Date fields. | 
				#
				 array(
    'ctime' => 'creationdate',
    'mtime' => 'modifydate'
) | 
| 
			protected static 
			array
		 | $_translations Placeholders for labels in frontend. Important: This must be a static array! | 
				#
				 array(
    "LABEL_FILESIZE",
    "LABEL_UPLOAD_DATE"
) | 
| 
			$_cfg, 
			$_cfgClient, 
			$_client, 
			$_contentTypes, 
			$_formFields, 
			$_id, 
			$_idArt, 
			$_idArtLang, 
			$_idCat, 
			$_lang, 
			$_prefix, 
			$_rawSettings, 
			$_session, 
			$_settings, 
			$_settingsType, 
			$_type, 
			$_uploadPath, 
			$_useXHTML
		 |