Class cContentTypeImgeditor
Content type CMS_IMGEDITOR which lets the editor select an image.
- cContentTypeAbstract
- cContentTypeAbstractTabbed
- cContentTypeImgeditor
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.imgeditor.php
public
|
#
__construct( string $rawSettings, integer $id, array $contentTypes )
Initialises class attributes and handles store events. |
protected
mixed
|
#
_getRawSettings( string $contentTypeName, integer $id, array $contentTypes, boolean $editable = false )
Return the raw settings of a content type |
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
array
|
|
private
string
|
|
protected
|
#
_storeSettings( )
Stores all values from the $_POST array in the $_settings attribute (associative array) and saves them in the database (XML). |
public
string
|
#
generateViewCode( )
Generates the code which should be shown if this content type is shown in the frontend. |
public
string
|
|
private
string
|
#
_generateTabDirectories( )
Generates code for the directories tab in which various settings can be made. |
private
string
|
#
_generateTabMeta( )
Generates code for the meta tab in which the images's meta data can be edited. |
private
string
|
|
public
string
|
#
generateFileSelect( string $directoryPath = '' )
Generate a select box containing all files in the given directory. |
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! |
public
string
|
#
getImageMeta( string $filename, string $dirname )
Gets the meta data of the image with the given filename/dirname. |
public
string|
|
|
public
string
|
_generateActionCode(),
_generateTabMenuCode()
|
_encodeForOutput(),
_isSubdirectory(),
_readSettings(),
buildDirectoryList(),
generateDirectoryList(),
getConfiguration(),
isWysiwygCompatible()
|
SETTINGS_TYPE_PLAINTEXT,
SETTINGS_TYPE_XML
|
private
string
|
$_dirname |
|
#
The name of the directory where the image is stored. |
private
string
|
$_filename |
|
#
The name of the image file. |
protected
string
|
$_imagePath |
|
#
The full path to the image file. |
private
string
|
$_fileType |
|
#
The file type of the image file. |
private
string
|
$_fileSize |
|
#
The size of the image file. |
private
string
|
$_medianame |
|
#
The medianame of the image. |
protected
string
|
$_description |
|
#
The description of the image. |
private
string
|
$_keywords |
|
#
The keywords of the image. |
private
string
|
$_internalNotice |
|
#
The internal notice of the image. |
private
string
|
$_copyright |
|
#
The copyright of the image. |
$_cfg,
$_cfgClient,
$_client,
$_contentTypes,
$_formFields,
$_id,
$_idArt,
$_idArtLang,
$_idCat,
$_lang,
$_prefix,
$_rawSettings,
$_session,
$_settings,
$_settingsType,
$_type,
$_uploadPath,
$_useXHTML
|