Forums / Developer / How to validate input within extensions

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