コード例 #1
0
ファイル: shop.php プロジェクト: sd-studio/or
 /** @param $groupID  single group ID or CODE */
 function __construct($groupID, $showDisabled = false)
 {
     $descendants = new DescendantGroups($groupID, $showDisabled);
     $IDs = $descendants->IDs();
     if ($groupID) {
         $IDs[] = Group::toID($groupID);
     }
     parent::__construct($IDs);
 }
コード例 #2
0
ファイル: ProductsImport.class.php プロジェクト: sQcrm/sqcrm
 function __construct($conx = NULL, $table_name = "")
 {
     parent::__construct($conx, $table_name);
 }
コード例 #3
0
ファイル: shop.php プロジェクト: sd-studio/sh
 /** @param $categoryID  single page ID or CODE */
 function __construct($categoryID, $showInHidden = false)
 {
     $IDs = Page::descendantIDs($categoryID, $showInHidden);
     if ($categoryID) {
         $IDs[] = Page::getID($categoryID);
     }
     parent::__construct($IDs);
 }