Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Typo3 打字稿3打字稿哪里有涂鸦,有什么区别?_Typo3_Typoscript - Fatal编程技术网

Typo3 打字稿3打字稿哪里有涂鸦,有什么区别?

Typo3 打字稿3打字稿哪里有涂鸦,有什么区别?,typo3,typoscript,Typo3,Typoscript,在选择特定内容时,我只收集具有colPos=1的列中的元素,我有两个注释适用于where子句,我想了解其中的区别 10 = CONTENT 10 { table = tt_content select { pidInList = this orderBy = sorting where = {#colPos}=1 where = colPos = 1 } renderObj = COA ren

在选择特定内容时,我只收集具有
colPos=1
的列中的元素,我有两个注释适用于where子句,我想了解其中的区别

10 = CONTENT
10 {
    table = tt_content
    select {
        pidInList = this
        orderBy = sorting
        where = {#colPos}=1
        where = colPos = 1
    }
    renderObj = COA
    renderObj {
        10 = TEXT
        10.stdWrap.field = header
    }
}
第一个版本,第二个版本没有。这确保了与各种DBMS的兼容性。如果可能,您应该始终使用第一个版本

带有花括号的注释已在TYPO3 V8中引入。

第一个版本,第二个版本没有。这确保了与各种DBMS的兼容性。如果可能,您应该始终使用第一个版本


带有花括号的注释已在TYPO3 V8中引入。

我从未见过第一个变体。也许select过滤掉了一些字符?@ThomasLöffler-它被用于引导程序包,在TYPO3 V8中引入,以确保正确引用mathias answersI从未见过第一个变体。也许select会过滤掉一些字符?@ThomasLöffler-它被用于引导程序包中,在TYPO3 V8中引入,以确保在mathias,thanx上正确引用mathias answersspot,如果您的答案中添加此注释是在V8中引入的,我接受!!在mathias,thanx上点_,如果您在回答中添加此注释是在v8中引入的,我接受!!