Fonctions membres publiques | |
| reverseString ($content, $conf) | |
| listContentRecordsOnPage ($content, $conf) | |
| selectThem ($query) | |
Attributs publics | |
| $cObj | |
| 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.
| string | String to process (from stdWrap) | |
| array | TypoScript properties passed on to this method. |
| 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 }
| string | Empty string (no content to process) | |
| array | TypoScript configuration |
| user_various::selectThem | ( | $ | query | ) |
Selecting the records by input $query and returning the header field values
| string | SQL query selecting the content elements. |
| user_various::$cObj |
1.5.3