How to validate input within extensions

Author Message

Norman Leutner

Friday 23 December 2005 12:13:51 am

I'm using the following code within my extension to store attributes:

      $contentObjectAttribute->SetAttribute( 'data_text', $data );
      $contentObjectAttribute->store();

Now I need to validate the input which was made in a form on the website.
Are there any standard functions to do that? (text, xml, images, ...)

Or will I have to programm them by myself?

Thanks in advance

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

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