zoe Sun Apr 26 07:37:51 2009 UTC
Added files:
/phpruntests/src/testcase/sections/configurationsections
rtGetSection.php
Log:
Added Get setion
http://cvs.php.net/viewvc.cgi/phpruntests/src/testcase/sections/configurationsections/rtGetSection.php?view=markup&rev=1.1
Index: phpruntests/src/testcase/sections/configurationsections/rtGetSection.php
+++ phpruntests/src/testcase/sections/configurationsections/rtGetSection.php
<?php
/**
* rtGetSection
*
* @category Testing
* @package RUNTESTS
* @author Zoe Slattery <[email protected]>
* @author Stefan Priebsch <[email protected]>
* @copyright 2009 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @link http://qa.php.net/
*/
/**
* Sets environment variables for GET section
*
*
* @category Testing
* @package RUNTESTS
* @author Zoe Slattery <[email protected]>
* @author Stefan Priebsch <[email protected]>
* @copyright 2009 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @link http://qa.php.net/
*/
class rtGetSection extends rtConfigurationSection
{
private $getVariables = array();
protected function init()
{
$this->getVariables['QUERY_STRING'] = $this->sectionContents[0];
}
/**
* Additional GET environment variables required by the test
*
* @return array
*/
public function getGetVariables()
{
return $this->getVariables;
}
}
?>
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php