Exemple #1
0
 public static function installBlocks(Package $pkg)
 {
     $bts = BlockTypeSet::getByHandle('vivid_store');
     if (!is_object($bts)) {
         BlockTypeSet::add("vivid_store", "Store", $pkg);
     }
     Installer::installBlock('vivid_product_list', $pkg);
     Installer::installBlock('vivid_utility_links', $pkg);
     Installer::installBlock('vivid_product', $pkg);
 }