framework/web/form/CForm.php
public function submitted($buttonName='submit',$loadData=true)
	{
		$ret=$this->clicked($this->getUniqueId()) && $this->clicked($buttonName);
		if($ret && $loadData)
			$this->loadData();
		return $ret;
	}
public function submitted($buttonName='submit',$loadData=true)
	{
		$ret=$this->clicked($this->getUniqueId()) && $this->clicked($buttonName);
		if($ret && $loadData)
			$this->loadData();
		return $ret;
	}
public function submitted ( $ buttonName = 'submit' , $ loadData = true ) { $ ret = $ this -> clicked ( $ this -> getUniqueId ( ) ) && $ this -> clicked ( $ buttonName ) ; if ( $ ret && $ loadData ) $ this -> loadData ( ) ; return $ ret ; }
Returns a value indicating whether this form is submitted.
@param string $buttonName the name of the submit button
@param boolean $loadData whether to call {@link loadData} if the form is submitted so that
the submitted data can be populated to the associated models.
@return boolean whether this form is submitted.
@see loadData
Returns a value indicating whether this form is submitted .