- define a string that has a function call in it (that returns a string)
that at the time of declaration is not in scope, eg
$str = this is the name : \$node-getName(); // $node is _not_ defined
currently, so we can't escape out
then, later on in the code, this string will be passed to a
- define a string that has a function call in it (that returns a string)
that at the time of declaration is not in scope, eg
$str = this is the name : \$node-getName(); // $node is _not_ defined
currently, so we can't escape out
Ya have 2 options really (from my perspective):
1. Place in
Thanks for your time, Dan.
Currently, I'm using defined tags for replacing info from my CMS, eg:
$str = ofa-core:siteMapLink/
Then I have a function that has all the objects in scope, and can perform
the necessary replacements.
I am prototyping some stuff with smarty, but so far have yet to
Currently, I'm using defined tags for replacing info from my CMS, eg:
$str = ofa-core:siteMapLink/
Then I have a function that has all the objects in scope, and can
perform the necessary replacements.
ok ... what would ofa-core:siteMapLink/ represent?
The output of $ofa-core-siteMapLink();?
ok ... what would ofa-core:siteMapLink/ represent?
The output of $ofa-core-siteMapLink();?
If your using XML throughout - have you looked at XSLT transformations?
It's just a symbolic name - the output is created from a few different
objects within the CMS, but it was such a commonly used set
5 matches
Mail list logo