public function __construct($filepath = null) { if ($filepath != null) { $this->html = file_to_string($filepath); } }
public function addCssFile($filepath) { $this->pluginCss[] = file_to_string($filepath); }
public function addJavascriptFile($filepath) { $this->pluginJavascript[] = file_to_string($filepath); }