/** * 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 intId * @return StewardshipPostLineItem[] */ public static function GetJournalForId($intId) { $objDatabase = StewardshipPostLineItem::GetDatabase()->JournalingDatabase; $objResult = $objDatabase->Query('SELECT * FROM stewardship_post_line_item WHERE id = ' . $objDatabase->SqlVariable($intId) . ' ORDER BY __sys_date'); return StewardshipPostLineItem::InstantiateDbResult($objResult); }