![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/laminas/laminas-view/src/Helper/ |
<?php declare(strict_types=1); namespace Laminas\View\Helper; use function array_merge; /** @deprecated Adobe Flash is obsolete. This helper will be removed in 3.0 */ class HtmlFlash extends AbstractHtmlElement { /** * Default file type for a flash applet */ public const TYPE = 'application/x-shockwave-flash'; /** * Output a flash movie object tag * * @param string $data The flash file * @param array $attribs Attribs for the object tag * @param array $params Params for in the object tag * @param string $content Alternative content * @return string */ public function __invoke($data, array $attribs = [], array $params = [], $content = null) { $params = array_merge(['movie' => $data, 'quality' => 'high'], $params); $htmlObject = $this->getView()->plugin('htmlObject'); return $htmlObject($data, self::TYPE, $attribs, $params, $content); } }