public function get($parameter)
	{
		if ( ! is_null($this->staticTitle)) return $this->staticTitle;
		if (is_null($this->from))
		{
			throw new TitleNotFormattedException;
		}
		$from = $this->from;
		$property = $this->field;
		$model = new $this->from;
		$model = $this->getInstance($parameter, $model);
		if (isset($model->$property))
		{
			return $model->$property;
		}
		throw new ModelAttributeNotFoundException($from, $property);
	}
public function get($parameter)
	{
		if ( ! is_null($this->staticTitle)) return $this->staticTitle;
		if (is_null($this->from))
		{
			throw new TitleNotFormattedException;
		}
		$from = $this->from;
		$property = $this->field;
		$model = new $this->from;
		$model = $this->getInstance($parameter, $model);
		if (isset($model->$property))
		{
			return $model->$property;
		}
		throw new ModelAttributeNotFoundException($from, $property);
	}
public function get ( $ parameter ) { if ( ! is_null ( $ this -> staticTitle ) ) return $ this -> staticTitle ; if ( is_null ( $ this -> from ) ) { throw new TitleNotFormattedException ; } $ from = $ this -> from ; $ property = $ this -> field ; $ model = new $ this -> from ; $ model = $ this -> getInstance ( $ parameter , $ model ) ; if ( isset ( $ model -> $ property ) ) { return $ model -> $ property ; } throw new ModelAttributeNotFoundException ( $ from , $ property ) ; }
Get title as string

@param string $parameter
@throws ModelAttributeNotFoundException
@throws TitleNotFormattedException
@throws ModelNotFoundException
@return string
Get title as string