Class cContentTypeLinkeditor
Content type CMS_LINKEDITOR which lets the editor select a link.
- cContentTypeAbstract
- 
			 cContentTypeAbstractTabbed cContentTypeAbstractTabbed
- 
			 cContentTypeLinkeditor cContentTypeLinkeditor
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Fulai Zhang, Simon Sprankel
Located at classes/content_types/class.content.type.linkeditor.php
| 
			 public 
			
			
			 | 
		#
		 __construct( string $rawSettings, integer $id, array $contentTypes )Initialises class attributes and handles store events. | 
| 
			 public 
			string
			
			 | |
| 
			 public 
			string
			
			 | |
| 
			 public 
			string
			
			 | |
| 
			 public 
			string
			
			 | |
| 
			 public 
			array
			
			 | 
		#
		 getConfiguredData( )Returns array with configured data (keys: type, externallink, title, newwindow, idart, filename). Additionally the key href contains the actual hyperreference. | 
| 
			 public 
			string
			
			 | 
		#
		 generateViewCode( )Generates the code which should be shown if this content type is shown in the frontend. | 
| 
			 protected 
			string
			
			 | |
| 
			 public 
			string
			
			 | |
| 
			 private 
			string
			
			 | 
		#
		 _generateTabExternal( )Generates code for the external link tab in which links to external sites can be specified. | 
| 
			 private 
			string
			
			 | 
		#
		 _generateBasicSettings( )Generates code for the basic settings "tab" in which the link title and target can be specified. This tab is always shown. | 
| 
			 private 
			string
			
			 | 
		#
		 _generateTabInternal( )Generates code for the internal link tab in which links to internal sites can be specified. | 
| 
			 public 
			array
			
			 | 
		#
		 buildCategoryArray( integer $level = 0, integer $parentid = 0 )Builds an array with category information. | 
| 
			 public 
			string
			
			 | 
		#
		 getCategoryList( array $categories )Generates a category list from the given category information (which is typically built by cContentTypeLinkeditor::buildCategoryArray). | 
| 
			 private 
			array
			
			 | |
| 
			 private 
			array
			
			 | 
		#
		 _getParentIdcats( integer $idcat, array $idcats = array() )Computes all parent idcats of the given idcat and returns them. | 
| 
			 public 
			string
			
			 | 
		#
		 generateArticleSelect( integer $idCat = 0 )Generate a select box for all articles of the given idcat. | 
| 
			 private 
			string
			
			 | 
		#
		 _generateTabFile( )Generates code for the link to file tab in which links to files can be specified. | 
| 
			 public 
			string
			
			 | |
| 
			 protected 
			boolean
			
			 | 
		#
		 _isActiveDirectory( array $dirData )Checks whether the directory defined by the given directory information is the currently active directory. Overwrite in subclasses if you use getDirectoryList! | 
| 
			 protected 
			boolean
			
			 | 
		#
		 _shouldDirectoryBeExpanded( array $dirData )Checks whether the directory defined by the given directory information should be shown expanded. Overwrite in subclasses if you use getDirectoryList! | 
| 
			_generateActionCode(), 
			_generateTabMenuCode(), 
			_getRawSettings()
		 | 
| 
			SETTINGS_TYPE_PLAINTEXT, 
			SETTINGS_TYPE_XML
		 | 
| 
			$_cfg, 
			$_cfgClient, 
			$_client, 
			$_contentTypes, 
			$_formFields, 
			$_id, 
			$_idArt, 
			$_idArtLang, 
			$_idCat, 
			$_lang, 
			$_prefix, 
			$_rawSettings, 
			$_session, 
			$_settings, 
			$_settingsType, 
			$_type, 
			$_uploadPath, 
			$_useXHTML
		 |