Beispiel #1
0
 public function __construct()
 {
     mgActivateThisPlugin(__FILE__, array(__CLASS__, 'activate'));
     mgAddAction('category_getcategorylistul', array(__CLASS__, 'addUploadField'), 1);
     mgAddAction('category_delcategory', array(__CLASS__, 'deleteCategory'), 1);
     self::$pluginName = PM::getFolderPlugin(__FILE__);
     self::$lang = PM::plugLocales(self::$pluginName);
     self::$path = PLUGIN_DIR . self::$pluginName;
 }
Beispiel #2
0
function getImgCat($id)
{
    return CategoryImg::getImgCat($id);
}