private function applyCallbacks($value, $options, core_kernel_classes_Property $targetProperty)
    {
        if (isset($options['callbacks'])) {
            foreach (array('*', $targetProperty->getUri()) as $key) {
                if (isset($options['callbacks'][$key]) && is_array($options['callbacks'][$key])) {
                    foreach ($options['callbacks'][$key] as $callback) {
                        if (is_callable($callback)) {
                            $value = call_user_func($callback, $value);
                        }
                    }
                }
            }
        }

        return $value;
    }
private function applyCallbacks($value, $options, core_kernel_classes_Property $targetProperty)
    {
        if (isset($options['callbacks'])) {
            foreach (array('*', $targetProperty->getUri()) as $key) {
                if (isset($options['callbacks'][$key]) && is_array($options['callbacks'][$key])) {
                    foreach ($options['callbacks'][$key] as $callback) {
                        if (is_callable($callback)) {
                            $value = call_user_func($callback, $value);
                        }
                    }
                }
            }
        }

        return $value;
    }
private function applyCallbacks ( $ value , $ options , core_kernel_classes_Property $ targetProperty ) { if ( isset ( $ options [ 'callbacks' ] ) ) { foreach ( array ( '*' , $ targetProperty -> getUri ( ) ) as $ key ) { if ( isset ( $ options [ 'callbacks' ] [ $ key ] ) && is_array ( $ options [ 'callbacks' ] [ $ key ] ) ) { foreach ( $ options [ 'callbacks' ] [ $ key ] as $ callback ) { if ( is_callable ( $ callback ) ) { $ value = call_user_func ( $ callback , $ value ) ; } } } } } return $ value ; }
Short description of method applyCallbacks

@access private
@author Jerome Bogaerts, <jerome.bogaerts@tudor.lu>
@param  string $value
@param  array $options
@param  core_kernel_classes_Property $targetProperty
@return string
Short description of method applyCallbacks