CAdvContract::GetByID
record set CAdvContract::GetByID( int CONTRACT_ID );
The method GetByID returns a contract by its ID.
Parameters
- CONTRACT_ID
- Contract ID
Example
The following is the example of an array after the method result has been fetched.
<? Array ( [LAMP] => green [ID] => 3 [ACTIVE] => Y [NAME] => contract name [DESCRIPTION] => contract description [ADMIN_COMMENTS] => administrative comment [WEIGHT] => 1000 [SORT] => 200 [MAX_SHOW_COUNT] => 1000 [SHOW_COUNT] => 312 [MAX_CLICK_COUNT] => 100 [CLICK_COUNT] => 64 [EMAIL_COUNT] => 0 [CREATED_BY] => 2 [MODIFIED_BY] => 2 [DEFAULT_STATUS_SID] => READY [CTR] => 20.51 [DATE_SHOW_FROM] => 15.06.2004 [DATE_SHOW_TO] => 07.07.2009 [DATE_CREATE] => 07.06.2004 19:04:55 [DATE_MODIFY] => 24.06.2004 10:56:08 [BANNER_COUNT] => 12 ) ?>
© «Bitrix24», 2001-2024