/** * Adds dynamic data to be sent to the client. * * @deprecated * @param string $id Unique identifier of the block. * @param string $content Dynamic part html. * @param string $stub Html to use as stub. * @param string $containerId Identifier of the html container. * @param boolean $useBrowserStorage Use browser storage for caching or not. * @param boolean $autoUpdate Automatically or manually update block contents. * @param boolean $useAnimation Animation flag. * * @return void */ public static function addDynamicData($id, $content, $stub = "", $containerId = null, $useBrowserStorage = false, $autoUpdate = true, $useAnimation = false) { $area = new FrameStatic($id); $area->setStub($stub); $area->setContainerId($containerId); $area->setBrowserStorage($useBrowserStorage); $area->setAutoUpdate($autoUpdate); $area->setAnimation($useAnimation); FrameStatic::addDynamicArea($area); }