Solutions Open Source

Référence de la classe tx_rtehtmlarea_dam_browse_media

Liste de tous les membres

Fonctions membres publiques

 isValid ($type, &$pObj)
 render ($type, &$pObj)
 init ()
 rteImageStorageDir ()
 imageInsert ()
 imageInsertJS ($url, $width, $height, $altText, $titleText, $origFile)
 getJSCode ()
 reinitParams ()
 displayThumbs ()
 addDisplayOptions ()
 renderFileList ($files, $mode='file')
 getFileListArr ($allowedFileTypes, $disallowedFileTypes, $mode)
 main_rte ()
 getRecordOverlay ($table, $row, $sys_language_content, $OLmode='')

Attributs publics

 $extKey = 'rtehtmlarea'
 $content
 $act
 $allowedItems
 $plainMaxWidth
 $plainMaxHeight
 $magicMaxWidth
 $magicMaxHeight
 $imgPath
 $imgTitleDAMColumn = ''
 $classesImageJSOptions
 $editorNo
 $sys_language_content
 $buttonConfig = array()


Documentation des fonctions membres

tx_rtehtmlarea_dam_browse_media::isValid ( type,
&$  pObj 
)

Check if this object should be rendered.

Paramètres:
string $type Type: "file", ...
object $pObj Parent object.
Renvoie:
boolean
Voir également:
SC_browse_links::main()

tx_rtehtmlarea_dam_browse_media::render ( type,
&$  pObj 
)

Rendering Called in SC_browse_links::main() when isValid() returns true;

Paramètres:
string $type Type: "file", ...
object $pObj Parent object.
Renvoie:
string Rendered content
Voir également:
SC_browse_links::main()

tx_rtehtmlarea_dam_browse_media::init (  ) 

Initialisation

Renvoie:
[type] ...

tx_rtehtmlarea_dam_browse_media::rteImageStorageDir (  ) 

[Describe function...]

Renvoie:
[type] ...

tx_rtehtmlarea_dam_browse_media::imageInsert (  ) 

[Describe function...]

Renvoie:
[type] ...

tx_rtehtmlarea_dam_browse_media::imageInsertJS ( url,
width,
height,
altText,
titleText,
origFile 
)

tx_rtehtmlarea_dam_browse_media::getJSCode (  ) 

[Describe function...]

Renvoie:
[type] ...

tx_rtehtmlarea_dam_browse_media::reinitParams (  ) 

tx_rtehtmlarea_dam_browse_media::displayThumbs (  ) 

Return true or false whether thumbs should be displayed or not

Renvoie:
boolean

tx_rtehtmlarea_dam_browse_media::addDisplayOptions (  ) 

Create HTML checkbox to enable/disable thumbnail display

Renvoie:
string HTML code

tx_rtehtmlarea_dam_browse_media::renderFileList ( files,
mode = 'file' 
)

Render list of files.

Paramètres:
array List of files. See t3lib_div::getFilesInDir
string $mode EB mode: "db", "file", ...
Renvoie:
string HTML output

tx_rtehtmlarea_dam_browse_media::getFileListArr ( allowedFileTypes,
disallowedFileTypes,
mode 
)

Makes a DAM db query and collects data to be used in EB display

Paramètres:
string $allowedFileTypes Comma list of allowed file types
string $disallowedFileTypes Comma list of disallowed file types
string $mode EB mode: "db", "file", ...
Renvoie:
array Array of file elements

tx_rtehtmlarea_dam_browse_media::main_rte (  ) 

[Describe function...]

Renvoie:
[type] ...

tx_rtehtmlarea_dam_browse_media::getRecordOverlay ( table,
row,
sys_language_content,
OLmode = '' 
)

Import from t3lib_page in order to create backend version Creates language-overlay for records in general (where translation is found in records from the same table)

Paramètres:
string Table name
array Record to overlay. Must containt uid, pid and $table]['ctrl']['languageField']
integer Pointer to the sys_language uid for content on the site.
string Overlay mode. If "hideNonTranslated" then records without translation will not be returned un-translated but unset (and return value is false)
Renvoie:
mixed Returns the input record, possibly overlaid with a translation. But if $OLmode is "hideNonTranslated" then it will return false if no translation is found.


Documentation des données membres

tx_rtehtmlarea_dam_browse_media::$extKey = 'rtehtmlarea'

tx_rtehtmlarea_dam_browse_media::$content

tx_rtehtmlarea_dam_browse_media::$act

tx_rtehtmlarea_dam_browse_media::$allowedItems

tx_rtehtmlarea_dam_browse_media::$plainMaxWidth

tx_rtehtmlarea_dam_browse_media::$plainMaxHeight

tx_rtehtmlarea_dam_browse_media::$magicMaxWidth

tx_rtehtmlarea_dam_browse_media::$magicMaxHeight

tx_rtehtmlarea_dam_browse_media::$imgPath

tx_rtehtmlarea_dam_browse_media::$imgTitleDAMColumn = ''

tx_rtehtmlarea_dam_browse_media::$classesImageJSOptions

tx_rtehtmlarea_dam_browse_media::$editorNo

tx_rtehtmlarea_dam_browse_media::$sys_language_content

tx_rtehtmlarea_dam_browse_media::$buttonConfig = array()


La documentation de cette classe a été générée à partir du fichier suivant :
Généré le Fri Aug 31 11:44:04 2007 pour OBLADY - Typo3 API v4.1.2 par  doxygen 1.5.3