protected function _init() {
		parent::_init();

		foreach ($this->_fields as $key => $val) {
			if (is_int($key)) {
				unset($this->_fields[$key]);
				$this->_fields[$val] = $val;
			}
		}
		if (!class_exists($model = Libraries::locate('models', $this->_model))) {
			throw new ClassNotFoundException("Model class '{$this->_model}' not found.");
		}
		$this->_model = $model;
	}
protected function _init() {
		parent::_init();

		foreach ($this->_fields as $key => $val) {
			if (is_int($key)) {
				unset($this->_fields[$key]);
				$this->_fields[$val] = $val;
			}
		}
		if (!class_exists($model = Libraries::locate('models', $this->_model))) {
			throw new ClassNotFoundException("Model class '{$this->_model}' not found.");
		}
		$this->_model = $model;
	}
protected function _init ( ) { parent :: _init ( ) ; foreach ( $ this -> _fields as $ key => $ val ) { if ( is_int ( $ key ) ) { unset ( $ this -> _fields [ $ key ] ) ; $ this -> _fields [ $ val ] = $ val ; } } if ( ! class_exists ( $ model = Libraries :: locate ( 'models' , $ this -> _model ) ) ) { throw new ClassNotFoundException ( "Model class '{$this->_model}' not found." ) ; } $ this -> _model = $ model ; }
Initializes values configured in the constructor.

@return void
Initializes values configured in the constructor .