|
TYPO3 API
SVNRelease
|
Public Member Functions | |
| reverseString ($content, $conf) | |
| listContentRecordsOnPage ($content, $conf) | |
| selectThem ($query) | |
| reverseString ($content, $conf) | |
| listContentRecordsOnPage ($content, $conf) | |
| selectThem ($query) | |
Public Attributes | |
| $cObj | |
Example of calling a method in a PHP class from TypoScript
Definition at line 100 of file example_callfunction.php.
| 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 |
Definition at line 140 of file example_callfunction.php.
| 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 |
Definition at line 140 of file example_callfunction.php.
| 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. |
Definition at line 111 of file example_callfunction.php.
References $content.
| 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. |
Definition at line 111 of file example_callfunction.php.
References $content.
| user_various::selectThem | ( | $ | query | ) |
Selecting the records by input $query and returning the header field values
| string | SQL query selecting the content elements. |
Definition at line 159 of file example_callfunction.php.
| user_various::selectThem | ( | $ | query | ) |
Selecting the records by input $query and returning the header field values
| string | SQL query selecting the content elements. |
Definition at line 159 of file example_callfunction.php.
| user_various::$cObj |
Definition at line 101 of file example_callfunction.php.
1.7.5.1