Documentation TYPO3 par Ameos |
Public Member Functions | |
findRef ($table, $field, $uid, $content, $spKey, $spParams, $structurePath='') | |
findRef_images ($content, $spParams) | |
findRef_typolink ($content, $spParams) | |
findRef_typolink_tag ($content, $spParams) | |
findRef_TStemplate ($content, $spParams) | |
findRef_TSconfig ($content, $spParams) | |
findRef_email ($content, $spParams) | |
findRef_url ($content, $spParams) | |
findRef_extension_fileref ($content, $spParams) | |
fileadminReferences ($content, &$elements) | |
getTypoLinkParts ($typolinkValue) | |
setTypoLinkPartsElement ($tLP, &$elements, $content, $idx) | |
getPageIdFromAlias ($link_param) | |
makeTokenID ($index='') | |
Public Attributes | |
$fileAdminDir = 'fileadmin' | |
$tokenID_basePrefix = '' |
Definition at line 116 of file class.t3lib_softrefproc.php.
|
Searches the content for a reference to a file in "fileadmin/". When a match is found it will get substituted with a token.
Definition at line 591 of file class.t3lib_softrefproc.php. References t3lib_div::getFileAbsFileName(), and makeTokenID(). Referenced by findRef_TSconfig(), and findRef_TStemplate(). |
|
Main function through which all processing happens
Definition at line 137 of file class.t3lib_softrefproc.php. References findRef_email(), findRef_extension_fileref(), findRef_images(), findRef_TSconfig(), findRef_TStemplate(), findRef_typolink(), findRef_typolink_tag(), findRef_url(), and makeTokenID(). |
|
Finding email addresses in content and making them substitutable.
Definition at line 457 of file class.t3lib_softrefproc.php. References makeTokenID(). Referenced by findRef(). |
|
Finding reference to files from extensions in content, but only to notify about their existence. No substitution
Definition at line 539 of file class.t3lib_softrefproc.php. References makeTokenID(). Referenced by findRef(). |
|
Finding image tags in the content. All images that are not from external URLs will be returned with an info text Will only return files in fileadmin/ and files in uploads/ folders which are prefixed with "RTEmagic[C|P]_" for substitution Any "clear.gif" images are ignored.
Definition at line 213 of file class.t3lib_softrefproc.php. References t3lib_div::getFileAbsFileName(), t3lib_div::htmlspecialchars_decode(), t3lib_div::isFirstPartOfStr(), t3lib_div::makeInstance(), and makeTokenID(). Referenced by findRef(). |
|
Processes possible references inside of Page and User TSconfig fields. Currently this only includes file references to fileadmin/ but in fact there are currently no properties that supports such references.
Definition at line 434 of file class.t3lib_softrefproc.php. References fileadminReferences(). Referenced by findRef(). |
|
Processing the content expected from a TypoScript template This content includes references to files in fileadmin/ folders and file references in HTML tags like, and string The input content to analyse array Parameters set for the softref parser key in TCA/columns array Result array on positive matches, see description above. Otherwise false Definition at line 352 of file class.t3lib_softrefproc.php. References fileadminReferences(), t3lib_div::getFileAbsFileName(), t3lib_div::htmlspecialchars_decode(), t3lib_div::isFirstPartOfStr(), t3lib_div::makeInstance(), and makeTokenID(). Referenced by findRef(). |
|
TypoLink value processing. Will process input value as a TypoLink value.
Definition at line 280 of file class.t3lib_softrefproc.php. References getTypoLinkParts(), and setTypoLinkPartsElement(). Referenced by findRef(). |
|
TypoLink tag processing. Will search for <link ...> tags in the content string and process any found.
Definition at line 317 of file class.t3lib_softrefproc.php. References getTypoLinkParts(), and t3lib_div::makeInstance(). Referenced by findRef(). |
|
Finding URLs in content, but only to notify about their existence. No substitution (could be done later via a parameter)
Definition at line 497 of file class.t3lib_softrefproc.php. References makeTokenID(). Referenced by findRef(). |
|
Look up and return page uid for alias
Definition at line 833 of file class.t3lib_softrefproc.php. References t3lib_BEfunc::getRecordsByField(). Referenced by getTypoLinkParts(). |
|
Analyse content as a TypoLink value and return an array with properties. TypoLinks format is: <link [typolink] [browser target] [css class]>. See tslib_content::typolink() The syntax of the [typolink] part is: [typolink] = [page id or alias][,[type value]][#[anchor, if integer = tt_content uid]] The extraction is based on how tslib_content::typolink() behaves.
Definition at line 634 of file class.t3lib_softrefproc.php. References getPageIdFromAlias(), t3lib_div::inList(), t3lib_div::testInt(), and t3lib_div::trimExplode(). Referenced by findRef_typolink(), and findRef_typolink_tag(). |
|
Make Token ID for input index.
Definition at line 845 of file class.t3lib_softrefproc.php. Referenced by fileadminReferences(), findRef(), findRef_email(), findRef_extension_fileref(), findRef_images(), findRef_TStemplate(), findRef_url(), and setTypoLinkPartsElement(). |
|
Recompile a TypoLink value from the array of properties made with getTypoLinkParts() into an elements array
Definition at line 718 of file class.t3lib_softrefproc.php. References t3lib_div::getFileAbsFileName(), t3lib_div::isFirstPartOfStr(), makeTokenID(), and t3lib_div::testInt(). Referenced by findRef_typolink(). |