Source for file ABSTHTMLFormItem.class.php
Documentation is available at ABSTHTMLFormItem.class.php
* For including this file you have to define the constant "CLASSPATH".
* Because every include in the framework depends on the CLASSPATH definition.
* The CLASSPATH means the relative path to the folder that contains the
echo "<h3>You have to define the constant CLASSPATH!</h3>\n";
echo "Example: define( 'CLASSPATH', '../path/to/classes/' );\n";
* Including the basic class for html-tags.
require_once( CLASSPATH. "html/ABSTHTMLTag.class.php" );
* An abstract class as base for classes to create form items.
* @author Daniel Plücken <daniel@debakel.net>
* @license http://www.gnu.org/copyleft/lesser.html
* GNU Lesser General Public License
* @copyright Copyright (c) 2004 Daniel Plücken <daniel@debakel.net>
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA
* The value of the "value"-attribute of this form item object.
* @var boolean $manipulateable
* A reference to a label object, which carries information for this input
* @var HTMLLabel $label_obj
* A reference to the form that contains this input object.
* @var object $parentform
* @author Daniel Plücken <daniel@debakel.net>
"ABSTHTMLFormItem is an abstract class. "
. "You cannot get an instance of it."
* Stores the value of this item's "value"-attribute.
* @author Daniel Plücken <daniel@debakel.net>
{ $this->value = $string; }
* Concats the given string to the value of this item's "value"-attribute.
* @author Daniel Plücken <daniel@debakel.net>
{ $this->value .= $string; }
* Returns the value of this item's "value"-attribute.
* @author Daniel Plücken <daniel@debakel.net>
* @author Daniel Plücken <daniel@debakel.net>
* Disables this item. This method is an alias for the method setDisabled().
* @author Daniel Plücken <daniel@debakel.net>
* @author Daniel Plücken <daniel@debakel.net>
* Enables this item. This method is an alias for the method setDisabled().
* @author Daniel Plücken <daniel@debakel.net>
* Makes sure that this item is not manipulateable by the user, but carrys
* the value trough the form.
* @author Daniel Plücken <daniel@debakel.net>
* Makes sure that this item is manipulateable by the user.
* @author Daniel Plücken <daniel@debakel.net>
* Stores a reference to the form-object that contains this item-object.
* @author Daniel Plücken <daniel@debakel.net>
* Stores the given label object to the extended underlying form component.
* @author Daniel Plücken <daniel@debakel.net>
* Blind method cause other objects will invoke it.
* @author Daniel Plücken <daniel@debakel.net>
* Blind method cause other objects will invoke it.
* @author Daniel Plücken <daniel@debakel.net>
* Returns the label to the extended extended underlying form component as
* @author Daniel Plücken <daniel@debakel.net>
} // End of class HTMLFormItem
|