framework/web/form/CForm.php
public function clicked($name)
	{
		if(strcasecmp($this->getRoot()->method,'get'))
			return isset($_POST[$name]);
		else
			return isset($_GET[$name]);
	}
public function clicked($name)
	{
		if(strcasecmp($this->getRoot()->method,'get'))
			return isset($_POST[$name]);
		else
			return isset($_GET[$name]);
	}
public function clicked ( $ name ) { if ( strcasecmp ( $ this -> getRoot ( ) -> method , 'get' ) ) return isset ( $ _POST [ $ name ] ) ; else return isset ( $ _GET [ $ name ] ) ; }
Returns a value indicating whether the specified button is clicked.
@param string $name the button name
@return boolean whether the button is clicked.
Returns a value indicating whether the specified button is clicked .