[PHP] Undefined class constant

2007-09-19 Thread Puiu Hrenciuc
Hi everyone, I'm having a hard time dealing with an error that appeared overnight in one of my PHP script: Fatal error: Undefined class constant 'self::TYPE_HIDDEN' in /#/classes/framework/HTML/HTMLForm.php on line 120 HTMLForm.php snippet: . // Creates the HTMLFormFields

Re: [PHP] Undefined class constant

2007-09-19 Thread T . Lensselink
On Wed, 19 Sep 2007 15:56:22 +0300, Puiu Hrenciuc [EMAIL PROTECTED] wrote: Hi everyone, I'm having a hard time dealing with an error that appeared overnight in one of my PHP script: Fatal error: Undefined class constant 'self::TYPE_HIDDEN' in /#/classes/framework/HTML/HTMLForm.php

Re: [PHP] Undefined class constant

2007-09-19 Thread Puiu Hrenciuc
Here are the content for all used variables: $_this-Name: (string) FilterForm $_column: StringColumn Object ( [Table] = Roles [Name] = RoleName [Function] = like [Type] = 4 [Min] = [Max] = [RegEx] = [AllowedValues] = Array ( ) [IsValid] =

Re: [PHP] Undefined class constant

2007-09-19 Thread T . Lensselink
On Wed, 19 Sep 2007 17:13:02 +0300, Puiu Hrenciuc [EMAIL PROTECTED] wrote: Here are the content for all used variables: $_this-Name: (string) FilterForm $_column: StringColumn Object ( [Table] = Roles [Name] = RoleName [Function] = like [Type] = 4 [Min] =

Re: [PHP] Undefined class constant

2007-09-19 Thread Puiu Hrenciuc
Here is the HTMLFormField constructor, it is pretty simple : /** * Creates a new HTMLFormField object * * @param string $_formName Name of the form this field belongs to * @param Column $_column Record object this column derives from * @param int