public function findField($field)
	{
		$fields = $this->getEditFields();

		//return either the Field object or throw an InvalidArgumentException
		if (!isset($fields[$field]))
		{
			throw new \InvalidArgumentException("The " . $field . " field does not exist on the " . $this->config->getOption('name') . " model");
		}

		return $fields[$field];
	}
public function findField($field)
	{
		$fields = $this->getEditFields();

		//return either the Field object or throw an InvalidArgumentException
		if (!isset($fields[$field]))
		{
			throw new \InvalidArgumentException("The " . $field . " field does not exist on the " . $this->config->getOption('name') . " model");
		}

		return $fields[$field];
	}
public function findField ( $ field ) { $ fields = $ this -> getEditFields ( ) ; //return either the Field object or throw an InvalidArgumentException if ( ! isset ( $ fields [ $ field ] ) ) { throw new \ InvalidArgumentException ( "The " . $ field . " field does not exist on the " . $ this -> config -> getOption ( 'name' ) . " model" ) ; } return $ fields [ $ field ] ; }
Given a field name, this returns the field object from the edit fields array

@param string	 	$field

@return \Frozennode\Administrator\Fields\Field
Given a field name this returns the field object from the edit fields array