common/models/forms/FormModel.php
public function load( $data, $formName = null ) {

		if( isset( $formName ) && isset( $data[ $formName ] ) ) {

			$this->data	= $data[ $formName ];
		}

		return parent::load( $data, $formName );
	}
public function load( $data, $formName = null ) {

		if( isset( $formName ) && isset( $data[ $formName ] ) ) {

			$this->data	= $data[ $formName ];
		}

		return parent::load( $data, $formName );
	}
public function load ( $ data , $ formName = null ) { if ( isset ( $ formName ) && isset ( $ data [ $ formName ] ) ) { $ this -> data = $ data [ $ formName ] ; } return parent :: load ( $ data , $ formName ) ; }
It process the submitted form data and store the form data using given form name.

The model attributes will be set by the parent class.

@param array $data
@param string $formName
@return boolean
It process the submitted form data and store the form data using given form name .