コード例 #1
0
ファイル: User.php プロジェクト: hjr3/ppi-skeleton-app
 function putRecord(array $p_aData)
 {
     $iUserID = parent::putRecord($p_aData);
     $bEdit = isset($p_aData[$this->getPrimaryKey()]);
     $iInsertUserID = $bEdit ? $p_aData[$this->getPrimaryKey()] : $iUserID;
     // Add an audit trail
     $oAudit = new APP_Model_Audit();
     // Make an insert into the audit log.
     //    		$oAudit->insert(array(
     ////    			''
     //    		));
     //    	}
 }