Share » Forums » Developer » Creating custon template object

Creating custon template object

Creating custon template object

Thursday 12 July 2007 4:40:21 am - 1 reply

Author Message

André R.

Thursday 12 July 2007 6:15:26 am

That would have to be something like:
{def $objects = fetch( 'my_something', 'ez')}

take a look in kernel/content/function_definition.php, basically you'll have to have a similar file in your own module extension (my_extension/modules/my_module/function_definition.php).

But you can of course return a object from a template operator as well.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu