Changeset 15359 for branches/feature-module-update
- Timestamp:
- 2007/08/24 22:22:50 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/helper/SC_Helper_DB.php
r15349 r15359 613 613 614 614 /** 615 * 所属するすべての階層の親IDを配列で返す. 616 * 617 * @param SC_Query $objQuery SC_Query インスタンス 618 * @param string $table テーブル名 619 * @param string $pid_name 親ID名 620 * @param string $id_name ID名 621 * @param integer $id ID 622 * @return array 親IDの配列 623 */ 624 function sfGetParents($objQuery, $table, $pid_name, $id_name, $id) { 625 $objDb = new SC_Helper_DB_Ex(); 626 $arrRet = $objDb->sfGetParentsArray($table, $pid_name, $id_name, $id); 627 // 配列の先頭1つを削除する。 628 array_shift($arrRet); 629 return $arrRet; 630 } 631 632 /** 615 633 * 階層構造のテーブルから親ID配列を取得する. 616 634 *
Note: See TracChangeset
for help on using the changeset viewer.