Back to PhocacartRenderMedia class

Method loadFileInput

public
loadFileInput
()

Method loadFileInput - Source code

public function loadFileInput()
{
    if ($this->load) {
        //$this->document->addScript(JUri::root(true) . '/media/com_phocacart/js/tower/tower-file-input.min.js');
        //JHtml::stylesheet('media/com_phocacart/js/tower/tower-file-input.min.css');
        //HTMLHelper::_('stylesheet', 'media/com_phocacart/js/tower/tower-file-input.min.css', array('version' => 'auto'));
        // HTMLHelper::_('script', 'media/com_phocacart/js/tower/tower-file-input.min.js', array('version' => 'auto'), $this->scriptAtribute);
        $this->wa->registerAndUseStyle('com_phocacart.tower-file-input', 'media/com_phocacart/js/tower/tower-file-input.min.css', array('version' => 'auto'));
        $this->wa->registerAndUseScript('com_phocacart.tower-file-input', 'media/com_phocacart/js/tower/tower-file-input.min.js', array('version' => 'auto'), $this->scriptAtributeInline);
    }
}