예제 #1
0
 public function getRootObjects(IBaseObject $object)
 {
     /* @var $object category */
     $rootCategory = $object->getRootCategoryFromFullIds($object);
     if ($rootCategory) {
         return array($rootCategory);
     }
     return array();
 }