steffen: server/kolab-horde-framework/kolab-horde-framework/Form Form.php, NONE, 1.1 package.xml, NONE, 1.1
cvs at intevation.de
cvs at intevation.de
Fri Oct 14 16:33:06 CEST 2005
Author: steffen
Update of /kolabrepository/server/kolab-horde-framework/kolab-horde-framework/Form
In directory doto:/tmp/cvs-serv28903/kolab-horde-framework/kolab-horde-framework/Form
Added Files:
Form.php package.xml
Log Message:
Separated Horde Framework from kolab-resource-handlers
--- NEW FILE: Form.php ---
<?php
/**
* Horde_Form Master Class.
*
* The Horde_Form:: package provides form rendering, validation, and
* other functionality for the Horde Application Framework.
*
* $Horde: framework/Form/Form.php,v 1.246 2004/05/25 15:52:44 jan Exp $
*
* Copyright 2001-2004 Robert E. Coyle <robertecoyle at hotmail.com>
* Copyright 2001-2004 Chuck Hagenbuch <chuck at horde.org>
*
* See the enclosed file COPYING for license information (LGPL). If you
* did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
*
* @author Robert E. Coyle <robertecoyle at hotmail.com>
* @version $Revision: 1.1 $
* @since Horde 3.0
* @package Horde_Form
[...2925 lines suppressed...]
$value = $this->getDefault();
}
if ($this->_arrayVal && !is_null($index)) {
if (!$wasset && !is_array($value)) {
$return = $value;
} else {
$return = isset($value[$index]) ? $value[$index] : null;
}
} else {
$return = $value;
}
if ($this->hasAction()) {
$this->_action->setValues($vars, $return, $this->_arrayVal);
}
return $return;
}
}
--- NEW FILE: package.xml ---
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- $Horde: framework/Form/package.xml,v 1.3 2004/03/22 20:05:18 chuck Exp $ -->
<!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0">
<package version="1.0">
<name>Horde_Form</name>
<summary>Horde Form API</summary>
<description>
The Horde_Form:: package provides form rendering, validation, and other functionality for the Horde Application Framework.
</description>
<license>LGPL</license>
<maintainers>
<maintainer>
<user>chuck</user>
<role>lead</role>
<name>Chuck Hagenbuch</name>
<email>chuck at horde.org</email>
</maintainer>
<maintainer>
<user>robertecoyle</user>
<role>developer</role>
<name>Robert E. Coyle</name>
<email>robertecoyle at hotmail.com</email>
</maintainer>
<maintainer>
<user>mdjukic</user>
<role>developer</role>
<name>Marko Djukic</name>
<email>marko at oblo.com</email>
</maintainer>
</maintainers>
<release>
<version>0.0.1</version>
<state>alpha</state>
<date>2003-07-03</date>
<notes>Initial Release.</notes>
<filelist>
<file role="php" name="Form.php" baseinstalldir="/Horde" />
<dir name="Form" role="php" baseinstalldir="/Horde">
<file name="Action.php" />
<file name="Renderer.php" />
<dir name="Action" role="php" baseinstalldir="/Horde">
<file name="conditional_enable.php" />
<file name="conditional_setvalue.php" />
<file name="reload.php" />
<file name="submit.php" />
<file name="sum_fields.php" />
<file name="updatefield.php" />
</dir>
</dir>
</filelist>
<deps>
<dep type="ext" rel="has" optional="yes">gettext</dep>
<dep type="pkg" rel="has">Horde_Framework</dep>
<dep type="pkg" rel="has">Horde_Server</dep>
<dep type="pkg" rel="has">Horde_Token</dep>
<dep type="pkg" rel="has">Horde_Util</dep>
</deps>
</release>
<changelog>
<release>
<version>0.0.1</version>
<state>alpha</state>
<date>2003-07-03</date>
<notes>Initial release as a PEAR package</notes>
</release>
</changelog>
</package>
More information about the commits
mailing list