Bug #24462 » 16902_v2.diff
typo3/sysext/cms/tslib/content/class.tslib_content_template.php (revision ) | ||
---|---|---|
* @return string Output
|
||
* @see substituteMarkerArrayCached()
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
$subparts = array();
|
||
$marks = array();
|
||
$wraps = array();
|
typo3/sysext/cms/tslib/content/class.tslib_content_contenttable.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
|
||
$controlTable = t3lib_div::makeInstance('tslib_controlTable');
|
||
|
typo3/sysext/cms/tslib/content/class.tslib_content_media.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
$content = '';
|
||
$flexParams = isset($conf['flexParams.'])
|
||
? $this->cObj->stdWrap($conf['flexParams'], $conf['flexParams.'])
|
typo3/sysext/cms/tslib/content/class.tslib_content_fluidtemplate.php (revision ) | ||
---|---|---|
* @author Benjamin Mack <benni@typo3.org>
|
||
* @author Bastian Waidelich <bastian@typo3.org>
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
// check if the needed extensions are installed
|
||
if (!t3lib_extMgm::isLoaded('fluid')) {
|
||
return 'You need to install "Fluid" in order to use the FLUIDTEMPLATE content element';
|
typo3/sysext/cms/tslib/content/class.tslib_content_html.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
|
||
$theValue = $conf['value'];
|
||
|
typo3/sysext/cms/tslib/content/class.tslib_content_form.php (revision ) | ||
---|---|---|
* @param array Alternative formdata overriding whatever comes from TypoScript
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array(), $formData = '') {
|
||
public function render(array $conf = array(), $formData = '') {
|
||
$content = '';
|
||
if (is_array($formData)) {
|
||
$dataArray = $formData;
|
typo3/sysext/cms/tslib/content/class.tslib_content_file.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
|
||
$file = isset($conf['file.'])
|
||
? $this->cObj->stdWrap($conf['file'], $conf['file.'])
|
typo3/sysext/cms/tslib/content/class.tslib_content_imageresource.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
|
||
$GLOBALS['TSFE']->lastImgResourceInfo = $this->cObj->getImgResource($conf['file'], $conf['file.']);
|
||
|
typo3/sysext/cms/tslib/content/class.tslib_content_user.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
$content = '';
|
||
if ($this->cObj->getUserObjectType() === FALSE) {
|
||
// Come here only if we are not called from $TSFE->INTincScript_process()!
|
typo3/sysext/cms/tslib/content/class.tslib_content_loadregister.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Empty string (the cObject only sets internal data!)
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
array_push($GLOBALS['TSFE']->registerStack, $GLOBALS['TSFE']->register);
|
||
|
||
if (is_array($conf)) {
|
typo3/sysext/cms/tslib/content/class.tslib_content_imagetext.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
$content = '';
|
||
|
||
if (isset($conf['text.'])) {
|
typo3/sysext/cms/tslib/content/class.tslib_content_userinternal.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
$this->cObj->setUserObjectType(tslib_cObj::OBJECTTYPE_USER_INT);
|
||
$substKey = 'INT_SCRIPT.' . $GLOBALS['TSFE']->uniqueHash();
|
||
$content = '<!--' . $substKey . '-->';
|
typo3/sysext/cms/tslib/content/class.tslib_content_phpscriptinternal.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
$ext = $conf['scriptSuffix'];
|
||
unset($conf['scriptSuffix']);
|
||
|
typo3/sysext/cms/tslib/content/class.tslib_content_offsettable.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
/** @var $controlTable tslib_tableOffset */
|
||
$controlTable = t3lib_div::makeInstance('tslib_tableOffset');
|
||
|
typo3/sysext/cms/tslib/content/class.tslib_content_case.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
if ($this->cObj->checkIf($conf['if.'])) {
|
||
$setCurrent = isset($conf['setCurrent.']) ? $this->cObj->stdWrap($conf['setCurrent'], $conf['setCurrent.']) : $conf['setCurrent'];
|
||
if($setCurrent) {
|
typo3/sysext/cms/tslib/content/class.tslib_content_shockwaveflashobject.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
$prefix = '';
|
||
if ($GLOBALS['TSFE']->baseUrl) {
|
||
$prefix = $GLOBALS['TSFE']->baseUrl;
|
typo3/sysext/cms/tslib/content/class.tslib_content_contentobjectarrayinternal.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
if (is_array($conf)) {
|
||
$substKey = 'INT_SCRIPT.' . $GLOBALS['TSFE']->uniqueHash();
|
||
$includeLibs = isset($conf['includeLibs.'])
|
typo3/sysext/cms/tslib/content/class.tslib_content_quicktimeobject.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
$params = $prefix = '';
|
||
if ($GLOBALS['TSFE']->baseUrl) {
|
||
$prefix = $GLOBALS['TSFE']->baseUrl;
|
typo3/sysext/cms/tslib/content/class.tslib_content_scalablevectorgraphics.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Empty string (the cObject only sets internal data!)
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
$width = isset($conf['width.'])
|
||
? $this->cObj->stdWrap($conf['width'], $conf['width.'])
|
||
: $conf['width'];
|
typo3/sysext/cms/tslib/content/class.tslib_content_searchresult.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
if (t3lib_div::_GP('sword') && t3lib_div::_GP('scols')) {
|
||
$search = t3lib_div::makeInstance('tslib_search');
|
||
$search->register_and_explode_search_string(t3lib_div::_GP('sword'));
|
typo3/sysext/cms/tslib/content/class.tslib_content_phpscript.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
|
||
$file = isset($conf['file.'])
|
||
? $this->cObj->stdWrap($conf['file'], $conf['file.'])
|
typo3/sysext/cms/tslib/content/class.tslib_content_columns.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
$content = '';
|
||
if (is_array($conf) && $this->cObj->checkIf($conf['if.'])) {
|
||
$tdRowCount = 0;
|
typo3/sysext/cms/tslib/content/class.tslib_content_restoreregister.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Empty string (the cObject only sets internal data!)
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
$GLOBALS['TSFE']->register = array_pop($GLOBALS['TSFE']->registerStack);
|
||
return '';
|
||
}
|
typo3/sysext/cms/tslib/content/class.tslib_content_cleargif.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
|
||
$width = isset($conf['width.'])
|
||
? $this->cObj->stdWrap($conf['width'], $conf['width.'])
|
typo3/sysext/cms/tslib/content/class.tslib_content_multimedia.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
$content = '';
|
||
$filename = isset($conf['file.'])
|
||
? $this->cObj->stdWrap($conf['file'], $conf['file.'])
|
typo3/sysext/cms/tslib/content/class.tslib_content_text.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
$content = $conf['value'];
|
||
unset($conf['value']);
|
||
if(count($conf)) {
|
typo3/sysext/cms/tslib/content/class.tslib_content_records.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
$theValue = '';
|
||
|
||
$originalRec = $GLOBALS['TSFE']->currentRecord;
|
typo3/sysext/cms/tslib/content/class.tslib_content_hierarchicalmenu.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
|
||
$theValue = '';
|
||
|
typo3/sysext/cms/tslib/content/class.tslib_content_image.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
if ($this->cObj->checkIf($conf['if.'])) {
|
||
$theValue = $this->cObj->cImage($conf['file'], $conf);
|
||
if (isset($conf['stdWrap.'])) {
|
typo3/sysext/cms/tslib/content/class.tslib_content_editpanel.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
$theValue = '';
|
||
if ($GLOBALS['TSFE']->beUserLogin) {
|
||
$theValue = $this->cObj->editPanel($theValue, $conf);
|
typo3/sysext/cms/tslib/content/class.tslib_content_contentobjectarray.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
if (is_array($conf)) {
|
||
$content = '';
|
||
if ($this->cObj->checkIf($conf['if.'])) {
|
typo3/sysext/cms/tslib/content/class.tslib_content_abstract.php (revision ) | ||
---|---|---|
* @param array $conf
|
||
* @return string
|
||
*/
|
||
public abstract function render($conf = array());
|
||
public abstract function render(array $conf = array());
|
||
|
||
/**
|
||
* Compatibility stdWrap wrapper.
|
||
... | ... | |
* @param array $conf stdWrap configuration.
|
||
* @deprecated since TYPO3 4.5, this function will be removed in TYPO3 4.7, use $this->cObj->stdWrap() instead.
|
||
*/
|
||
public function stdWrap($content = '', $conf = array()) {
|
||
public function stdWrap($content = '', array $conf = array()) {
|
||
t3lib_div::logDeprecatedFunction();
|
||
|
||
return $this->cObj->stdWrap($content, $conf);
|
typo3/sysext/cms/tslib/content/class.tslib_content_content.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
$theValue = '';
|
||
|
||
$originalRec = $GLOBALS['TSFE']->currentRecord;
|
typo3/sysext/cms/tslib/content/class.tslib_content_horizontalruler.php (revision ) | ||
---|---|---|
* @param array Array of TypoScript properties
|
||
* @return string Output
|
||
*/
|
||
public function render($conf = array()) {
|
||
public function render(array $conf = array()) {
|
||
|
||
$lineThickness = isset($conf['lineThickness.'])
|
||
? $this->cObj->stdWrap($conf['lineThickness'], $conf['lineThickness.'])
|