Prado\Web\UI\ActiveControls\TActiveFileUpload::addAttributesToRender PHP Method

addAttributesToRender() public method

Adds ID attribute, and renders the javascript for active component.
public addAttributesToRender ( $writer )
    public function addAttributesToRender($writer)
    {
        parent::addAttributesToRender($writer);
        $writer->addAttribute('id', $this->getClientID());
        $this->getPage()->getClientScript()->registerPradoScript('activefileupload');
        $this->getActiveControl()->registerCallbackClientScript($this->getClientClassName(), $this->getClientOptions());
    }