libraries/Items/BItemsItem.php
protected function fieldAddRaw($name, $type, $params = array()) {
		if (empty($name)) {
			return false;
		}
		$fldobj = (object)$params;
		$fldobj->name = $name;
		$fldobj->type = $type;
		$this->fields[$name] = $fldobj;
	}
protected function fieldAddRaw($name, $type, $params = array()) {
		if (empty($name)) {
			return false;
		}
		$fldobj = (object)$params;
		$fldobj->name = $name;
		$fldobj->type = $type;
		$this->fields[$name] = $fldobj;
	}
protected function fieldAddRaw ( $ name , $ type , $ params = array ( ) ) { if ( empty ( $ name ) ) { return false ; } $ fldobj = ( object ) $ params ; $ fldobj -> name = $ name ; $ fldobj -> type = $ type ; $ this -> fields [ $ name ] = $ fldobj ; }
Add field into fields list.

@param $name
@param $type
@param array $params
@return bool
Add field into fields list .