Solutions Open Source

Référence de la classe user_various

Liste de tous les membres

Fonctions membres publiques

 reverseString ($content, $conf)
 listContentRecordsOnPage ($content, $conf)
 selectThem ($query)

Attributs publics

 $cObj


Description détaillée

Example of calling a method in a PHP class from TypoScript

Documentation des fonctions membres

user_various::reverseString ( content,
conf 
)

Doing the same as user_reverseString() but with a class. Also demonstrates how this gives us the ability to use methods in the parent object.

Paramètres:
string String to process (from stdWrap)
array TypoScript properties passed on to this method.
Renvoie:
string The input string reversed. If the TypoScript property "uppercase" was set it will also be in uppercase. May also be linked.
Voir également:
user_reverseString()

user_various::listContentRecordsOnPage ( content,
conf 
)

Testing USER cObject:

Example can be found in the testsite package at the page-path "/Intro/TypoScript examples/Custom Dynamic Co.../Calling a method.../" This TypoScript configuration will also demonstrate it:

includeLibs.something = media/scripts/example_callfunction.php page = PAGE page.30 = USER page.30 { userFunc = user_various->listContentRecordsOnPage reverseOrder = 1 }

Paramètres:
string Empty string (no content to process)
array TypoScript configuration
Renvoie:
string HTML output, showing content elements (in reverse order if configured.)

user_various::selectThem ( query  ) 

Selecting the records by input $query and returning the header field values

Paramètres:
string SQL query selecting the content elements.
Renvoie:
string The header field values of the content elements imploded by a
tag private


Documentation des données membres

user_various::$cObj


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