protected function updateDynamicContent($content, $placeholders)
    {
        foreach ($placeholders as $name => $statements) {
            $placeholders[$name] = $this->getView()->evaluateDynamicContent($statements);
        }

        return strtr($content, $placeholders);
    }
protected function updateDynamicContent($content, $placeholders)
    {
        foreach ($placeholders as $name => $statements) {
            $placeholders[$name] = $this->getView()->evaluateDynamicContent($statements);
        }

        return strtr($content, $placeholders);
    }
protected function updateDynamicContent ( $ content , $ placeholders ) { foreach ( $ placeholders as $ name => $ statements ) { $ placeholders [ $ name ] = $ this -> getView ( ) -> evaluateDynamicContent ( $ statements ) ; } return strtr ( $ content , $ placeholders ) ; }
Replaces placeholders in content by results of evaluated dynamic statements.

@param string $content
@param array $placeholders
@return string final content
Replaces placeholders in content by results of evaluated dynamic statements .