which function to pass data to template in ezdatatype ?!

Author Message

Selmah Maxim

Sunday 13 November 2005 9:58:21 am

Am creating new datatype,and I need to pass some data to the template file !

How that please !

Selmah Maxim

Monday 21 November 2005 4:36:29 pm

I wanna to get some data from db and show it while editing, as select option !

can I "objectAttributeContent( &$contentObjectAttribute )" !?

Thanks

Gurudutt Verma

Tuesday 22 November 2005 1:01:13 am

Hi!
Hi Selmah

yes you are right use this to solve your purpose.

function &objectAttributeContent( &$contentObjectAttribute )
{
 ....
 .....
return xyz;
}

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.