Share » Forums » Developer » HOWTO? Use...

HOWTO? Use eZContentobjectAttribute::setContent() on a simple text datatype

HOWTO? Use eZContentobjectAttribute::setContent() on a simple text datatype

Wednesday 04 August 2004 5:27:40 am - 2 replies

Modified on Wednesday 04 August 2004 5:28:32 am by Björn Dieding@xrow.de

Author Message

Jan Borsodi

Thursday 05 August 2004 1:36:40 am

The <i>setContent()</i> wasn't created for this behaviour actually, some datatypes do this but only internally.

Hower to remedy the problem with inserting data uniformly some new additions are being made to the eZDatatype interface.

Currently these are added:
<i>insertHTTPFile</i> - Insert an uploaded file (HTTP Post)
<i>insertRegularFile</i> - Insert a local file
<i>insertSimpleString</i> - Insert a simple string

It is also possible to query if a datatype supports any of these insert methods.

But this will only help if you are using 3.5.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Björn Dieding@xrow.de

Thursday 05 August 2004 2:53:23 am

Thx amos,
for this info.

I will test/use those methods when I need them the next time.

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

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

36 542 Users on board!

Forums menu