public function getPropertyViewValue($name, array $options = array())
	{
		$property = $this->getProperty($name);
		$propertyConfig = $this->config->getProperty($name);

		if ($propertyConfig instanceof Config\PropertyCollectionConfig) {
			return new BlockPropertyCollectionValue($property, $propertyConfig, $this, $options);
		}

		$editable = $propertyConfig->getEditable()->getInstance();

		$this->configureViewFilters($editable, $property);

		return $editable->toViewValue($property->getValue(), $options);
	}
public function getPropertyViewValue($name, array $options = array())
	{
		$property = $this->getProperty($name);
		$propertyConfig = $this->config->getProperty($name);

		if ($propertyConfig instanceof Config\PropertyCollectionConfig) {
			return new BlockPropertyCollectionValue($property, $propertyConfig, $this, $options);
		}

		$editable = $propertyConfig->getEditable()->getInstance();

		$this->configureViewFilters($editable, $property);

		return $editable->toViewValue($property->getValue(), $options);
	}
public function getPropertyViewValue ( $ name , array $ options = array ( ) ) { $ property = $ this -> getProperty ( $ name ) ; $ propertyConfig = $ this -> config -> getProperty ( $ name ) ; if ( $ propertyConfig instanceof Config \ PropertyCollectionConfig ) { return new BlockPropertyCollectionValue ( $ property , $ propertyConfig , $ this , $ options ) ; } $ editable = $ propertyConfig -> getEditable ( ) -> getInstance ( ) ; $ this -> configureViewFilters ( $ editable , $ property ) ; return $ editable -> toViewValue ( $ property -> getValue ( ) , $ options ) ; }
Get property value, uses default if not found, throws exception if
property not declared

@param string $name
@param array $options
@return mixed
Get property value uses default if not found throws exception if property not declared