21293 Posts in 5733 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 476 Views |
-
How can I test the value of $ within a controller?

4 July 2009 at 3:10am
How can I test the value of $Heading within a controller?
From Special.ss
<h1>$Heading</h1>
From Special.php
class Special_Controller extends Page_Controller {
function special () {
if ($Heading=='Hello')
}
} -
Re: How can I test the value of $ within a controller?

8 July 2009 at 2:25am
this should work:
function special () {
if ($this->Heading=='Hello')
}
| 476 Views | ||
|
Page:
1
|
Go to Top |


