WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Programmierung (http://www.wcm.at/forum/forumdisplay.php?f=17)
-   -   Was macht ' >' in php/typo3 (http://www.wcm.at/forum/showthread.php?t=143516)

jak 31.08.2004 20:07

Was macht ' >' in php/typo3
 
weiß jemand was das bedeutet:' >'
Ohne Anführungszeichen? In den Typo3 Dokumenten kommt das immer wieder vor, ich hab aber bisher noch keine Erklärung dafür gefunden.
z.B.:
PHP-Code:

# Make sure nonTypoTagStdWrap operates on content outside <typolist> and <typohead> only:
tt_content.text.20.parseFunc.tags.typolist.breakoutTypoTagContent 1
tt_content
.text.20.parseFunc.tags.typohead.breakoutTypoTagContent 1
# ... and no 
 
before typohead.
tt_content.text.20.parseFunc.tags.typohead.stdWrap.wrap >
# Setting up  nonTypoTagStdWrap to wrap the text with P-tags
tt_content.text.20.parseFunc.nonTypoTagStdWrap >
tt_content.text.20.parseFunc.nonTypoTagStdWrap.encapsLines {
  
encapsTagList div,p
  remapTag
.DIV P
  wrapNonWrappedLines 
= <P style="margin:0 0 0;">|</P>

  
# Forcing these attributes onto the encapsulation-tags if any
  
addAttributes.{
    
style=margin:0 0 0;
  }
  
innerStdWrap_all.ifEmpty 
  
innerStdWrap_all.textStyle tt_content.text.20.textStyle
}
# finally removing the old textstyle formatting on the whole bodytext part.
tt_content.text.20.textStyle >
# ... and 
-tag after the content is not needed either...
tt_content.text.20.wrap 

jak

Flink 01.09.2004 13:23

Re: Was macht ' >' in php/typo3
 
Zitat:

Original geschrieben von jak
weiß jemand was das bedeutet:' >'
Ohne Anführungszeichen?

Es löscht ein Objekt aus TypoScript.

TypoScript Syntax
Damit wird verhindert, dass es mehrere Definitionen eines Objektes geben kann.

Zitat:

Object unsetting: The ">" sign:

This is used to unset an object and all its properties.

Example:

myObject = HTML

myObject.value = <BLINK> HTML - code </BLINK>



myObject >

In this last line "myObject" is totally wiped out (removed)

jak 01.09.2004 14:10

Danke sehr. Wieder mal in der falschen Dokumentation gesucht (TSRef).

Jak


Alle Zeitangaben in WEZ +2. Es ist jetzt 04:27 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag