src/UC/ScriptControl.php
private function GenerateOutput($source) {
        array_push($this->Attributes, HtmlAttribute::Instanciate(HtmlAttributeConstants::Src, $source));
        $this->HtmlOutput = '<script type="application/javascript" {0}></script>';
        HtmlControlBuildHelper::Init()->GenerateAttributes($this);
    }
private function GenerateOutput($source) {
        array_push($this->Attributes, HtmlAttribute::Instanciate(HtmlAttributeConstants::Src, $source));
        $this->HtmlOutput = '<script type="application/javascript" {0}></script>';
        HtmlControlBuildHelper::Init()->GenerateAttributes($this);
    }
private function GenerateOutput ( $ source ) { array_push ( $ this -> Attributes , HtmlAttribute :: Instanciate ( HtmlAttributeConstants :: Src , $ source ) ) ; $ this -> HtmlOutput = '<script type="application/javascript" {0}></script>' ; HtmlControlBuildHelper :: Init ( ) -> GenerateAttributes ( $ this ) ; }
Generates a script html tag to include a script in the DOM
@param string $source The source to load as a script.
Generates a script html tag to include a script in the DOM