コード例 #1
0
ファイル: GrowthGroupGen.class.php プロジェクト: alcf/chms
 /**
  * Gets the historical journal for an object from the log database.
  * Objects will have VirtualAttributes available to lookup login, date, and action information from the journal object.
  * @param integer intGroupId
  * @return GrowthGroup[]
  */
 public static function GetJournalForId($intGroupId)
 {
     $objDatabase = GrowthGroup::GetDatabase()->JournalingDatabase;
     $objResult = $objDatabase->Query('SELECT * FROM growth_group WHERE group_id = ' . $objDatabase->SqlVariable($intGroupId) . ' ORDER BY __sys_date');
     return GrowthGroup::InstantiateDbResult($objResult);
 }