CDBResult CPosting::GetByID( $ID );
The method GetByID returns an issue by its ID.
Parameter | Description |
---|---|
$ID | The issue ID. |
Returns an instance of the CDBResult class. The fields of the Issue object become available after calling one of the CDBResult methods.
if($ID>0) { $post = CPosting::GetByID($ID); if(!($post_arr = $post->ExtractFields("str_"))) $ID=0; }
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |