public function getEditFields($loadRelationships = true, $override = false)
	{
		if (!sizeof($this->editFields) || $override)
		{
			$this->editFields = array();

			//iterate over each supplied edit field
			foreach ($this->config->getOption('edit_fields') as $name => $options)
			{
				$fieldObject = $this->make($name, $options, $loadRelationships);
				$this->editFields[$fieldObject->getOption('field_name')] = $fieldObject;
			}
		}

		return $this->editFields;
	}
public function getEditFields($loadRelationships = true, $override = false)
	{
		if (!sizeof($this->editFields) || $override)
		{
			$this->editFields = array();

			//iterate over each supplied edit field
			foreach ($this->config->getOption('edit_fields') as $name => $options)
			{
				$fieldObject = $this->make($name, $options, $loadRelationships);
				$this->editFields[$fieldObject->getOption('field_name')] = $fieldObject;
			}
		}

		return $this->editFields;
	}
public function getEditFields ( $ loadRelationships = true , $ override = false ) { if ( ! sizeof ( $ this -> editFields ) || $ override ) { $ this -> editFields = array ( ) ; //iterate over each supplied edit field foreach ( $ this -> config -> getOption ( 'edit_fields' ) as $ name => $ options ) { $ fieldObject = $ this -> make ( $ name , $ options , $ loadRelationships ) ; $ this -> editFields [ $ fieldObject -> getOption ( 'field_name' ) ] = $ fieldObject ; } } return $ this -> editFields ; }
Creates the edit fields as Field objects

@param boolean 	$loadRelationships //if set to false, no relationship options will be loaded
@param boolean 	$override //if set to true, the fields will be re-loaded, otherwise it will use the cached fields

@return array
Creates the edit fields as Field objects