Index: branches/version-2_12-dev/data/class/helper/SC_Helper_Category.php
===================================================================
--- branches/version-2_12-dev/data/class/helper/SC_Helper_Category.php	(revision 22595)
+++ branches/version-2_12-dev/data/class/helper/SC_Helper_Category.php	(revision 22597)
@@ -113,10 +113,11 @@
      * 
      * @param integer $category_id 起点のカテゴリーID
+     * @param boolean $id_only IDだけの配列を返す場合はtrue
      * @return array
      */
-    public function getTreeTrail($category_id)
+    public function getTreeTrail($category_id, $id_only = TRUE)
     {
         $arrCategory = $this->getList();
-        $arrTrailID = SC_Utils_Ex::getTreeTrail($category_id, 'category_id', 'parent_category_id', $arrCategory);
+        $arrTrailID = SC_Utils_Ex::getTreeTrail($category_id, 'category_id', 'parent_category_id', $arrCategory, 0, $id_only);
         return $arrTrailID;
     }
