예제 #1
0
 public static function getInstance()
 {
     if (RevsliderPrestashop::$instance instanceof RevsliderPrestashop) {
         return RevsliderPrestashop::$instance;
     }
     return RevsliderPrestashop::$instance = new RevsliderPrestashop();
 }
예제 #2
0
 function _e($text, $textdomain = '')
 {
     $mod = new RevsliderPrestashop();
     echo $mod->l($text);
 }