Documentation TYPO3 par Ameos

tx_rtehtmlarea_dam_browse_media Class Reference

List of all members.

Public Member Functions

 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='')

Public Attributes

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

Detailed Description

Definition at line 47 of file class.tx_rtehtmlarea_dam_browse_media.php.


Member Function Documentation

tx_rtehtmlarea_dam_browse_media::isValid ( type,
&$  pObj 
)

Check if this object should be rendered.

Parameters:
string $type Type: "file", ...
object $pObj Parent object.
Returns:
boolean
See also:
SC_browse_links::main()

Definition at line 71 of file class.tx_rtehtmlarea_dam_browse_media.php.

References t3lib_div::_GP().

tx_rtehtmlarea_dam_browse_media::render ( type,
&$  pObj 
)

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

Parameters:
string $type Type: "file", ...
object $pObj Parent object.
Returns:
string Rendered content
See also:
SC_browse_links::main()

Definition at line 92 of file class.tx_rtehtmlarea_dam_browse_media.php.

References $content, init(), and main_rte().

tx_rtehtmlarea_dam_browse_media::init (  ) 

Initialisation

Returns:
[type] ...

Definition at line 120 of file class.tx_rtehtmlarea_dam_browse_media.php.

References t3lib_div::_GP(), t3lib_div::getIndpEnv(), getJSCode(), t3lib_BEfunc::getPagesTSconfig(), imageInsert(), t3lib_div::makeInstance(), t3lib_BEfunc::RTEsetup(), and t3lib_div::trimExplode().

Referenced by render().

tx_rtehtmlarea_dam_browse_media::rteImageStorageDir (  ) 

[Describe function...]

Returns:
[type] ...

Definition at line 230 of file class.tx_rtehtmlarea_dam_browse_media.php.

Referenced by imageInsert().

tx_rtehtmlarea_dam_browse_media::imageInsert (  ) 

[Describe function...]

Returns:
[type] ...

Definition at line 240 of file class.tx_rtehtmlarea_dam_browse_media.php.

References t3lib_div::_GP(), getRecordOverlay(), imageInsertJS(), t3lib_div::intInRange(), t3lib_div::loadTCA(), t3lib_div::makeInstance(), and rteImageStorageDir().

Referenced by init().

tx_rtehtmlarea_dam_browse_media::getJSCode (  ) 

[Describe function...]

Returns:
[type] ...

Definition at line 346 of file class.tx_rtehtmlarea_dam_browse_media.php.

Referenced by init().

tx_rtehtmlarea_dam_browse_media::displayThumbs (  ) 

Return true or false whether thumbs should be displayed or not

Returns:
boolean

Definition at line 562 of file class.tx_rtehtmlarea_dam_browse_media.php.

tx_rtehtmlarea_dam_browse_media::addDisplayOptions (  ) 

Create HTML checkbox to enable/disable thumbnail display

Returns:
string HTML code

Definition at line 574 of file class.tx_rtehtmlarea_dam_browse_media.php.

References t3lib_BEfunc::getFuncCheck(), and t3lib_div::implodeArrayForUrl().

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

Render list of files.

Parameters:
array List of files. See t3lib_div::getFilesInDir
string $mode EB mode: "db", "file", ...
Returns:
string HTML output

Definition at line 603 of file class.tx_rtehtmlarea_dam_browse_media.php.

References t3lib_div::fixed_lgd_cs(), t3lib_div::getIndpEnv(), t3lib_BEfunc::getThumbNail(), and t3lib_div::inList().

tx_rtehtmlarea_dam_browse_media::getFileListArr ( allowedFileTypes,
disallowedFileTypes,
mode 
)

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

Parameters:
string $allowedFileTypes Comma list of allowed file types
string $disallowedFileTypes Comma list of disallowed file types
string $mode EB mode: "db", "file", ...
Returns:
array Array of file elements

Definition at line 744 of file class.tx_rtehtmlarea_dam_browse_media.php.

References t3lib_div::shortMD5().

tx_rtehtmlarea_dam_browse_media::main_rte (  ) 

[Describe function...]

Returns:
[type] ...

Definition at line 814 of file class.tx_rtehtmlarea_dam_browse_media.php.

References t3lib_div::_GP(), and t3lib_div::makeInstance().

Referenced by render().

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)

Parameters:
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)
Returns:
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.

Definition at line 913 of file class.tx_rtehtmlarea_dam_browse_media.php.

References t3lib_BEfunc::BEenableFields(), and t3lib_BEfunc::deleteClause().

Referenced by imageInsert().


The documentation for this class was generated from the following file:


Généré par Le spécialiste TYPO3 avec  doxygen 1.4.6