public function addDynamicPlaceholder($placeholder, $statements)
    {
        foreach ($this->cacheStack as $cache) {
            $cache->dynamicPlaceholders[$placeholder] = $statements;
        }
        $this->dynamicPlaceholders[$placeholder] = $statements;
    }
public function addDynamicPlaceholder($placeholder, $statements)
    {
        foreach ($this->cacheStack as $cache) {
            $cache->dynamicPlaceholders[$placeholder] = $statements;
        }
        $this->dynamicPlaceholders[$placeholder] = $statements;
    }
public function addDynamicPlaceholder ( $ placeholder , $ statements ) { foreach ( $ this -> cacheStack as $ cache ) { $ cache -> dynamicPlaceholders [ $ placeholder ] = $ statements ; } $ this -> dynamicPlaceholders [ $ placeholder ] = $ statements ; }
Adds a placeholder for dynamic content.
This method is internally used.
@param string $placeholder the placeholder name
@param string $statements the PHP statements for generating the dynamic content
Adds a placeholder for dynamic content . This method is internally used .