Documentation is available at PrimitiveIO_strings.classes.php
- <?php
- /**
- * @package polyphony.datamanager_gui
- *
- * @copyright Copyright © 2005, Middlebury College
- * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License (GPL)
- *
- * @version $Id: PrimitiveIO_strings.classes.php,v 1.10 2007/09/19 14:04:44 adamfranco Exp $
- */
- /**
- *
- *
- * @package polyphony.datamanager_gui
- *
- * @copyright Copyright © 2005, Middlebury College
- * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License (GPL)
- *
- * @version $Id: PrimitiveIO_strings.classes.php,v 1.10 2007/09/19 14:04:44 adamfranco Exp $
- */
- class PrimitiveIO_shortstring extends WTextField {
- /**
- * Sets the value of this Component to the {@link SObject} passed.
- * @param ref object $value The {@link SObject} value to use.
- *
- * @return void
- ***/
- function setValue($value)
- {
- ArgumentValidator::validate($value, HasMethodsValidatorRule::getRule("asString"));
- parent::setValue($value->asString());
- }
- /**
- * Sets the value of this Component to the {@link SObject} passed.
- * @param ref object $value The {@link SObject} value to use.
- *
- * @return void
- ***/
- function setValueFromSObject($value)
- {
- $this->setValue($value);
- }
- /**
- * Returns the values of wizard-components. Should return an array if children are involved,
- * otherwise a whatever type of object is expected.
- * @access public
- * @return mixed
- */
- function getAllValues () {
- $obj = new String($this->_value?$this->_value:"");
- return $obj;
- }
- }
- /**
- *
- * @package polyphony.datamanager_gui
- */
- class PrimitiveIO_string extends WTextArea {
- function PrimitiveIO_string () {
- $this->setRows(5);
- $this->setColumns(70);
- }
- /**
- * Sets the value of this Component to the {@link SObject} passed.
- * @param ref object $value The {@link SObject} value to use.
- *
- * @return void
- ***/
- function setValue($value)
- {
- ArgumentValidator::validate($value, HasMethodsValidatorRule::getRule("asString"));
- parent::setValue($value->asString());
- }
- /**
- * Sets the value of this Component to the {@link SObject} passed.
- * @param ref object $value The {@link SObject} value to use.
- *
- * @return void
- ***/
- function setValueFromSObject($value)
- {
- $this->setValue($value);
- }
- /**
- * Returns the values of wizard-components. Should return an array if children are involved,
- * otherwise a whatever type of object is expected.
- * @access public
- * @return mixed
- */
- function getAllValues () {
- $obj = new String($this->_value?$this->_value:"");
- return $obj;
- }
- }
Documentation generated on Wed, 19 Sep 2007 10:25:41 -0400 by phpDocumentor 1.3.0RC3