Bitrix Site Manager

CAdvType::GetByID

record set
CAdvType::GetByID(
 varchar(255) TYPE_SID
);

The method GetByID returns the banner type by its symbolic ID.

Parameters

TYPE_SID
The type symbolic ID.

Example

The following is the example of an array after the method result has been fetched.

<?
Array
(
    [SID] => TOP
    [ACTIVE] => Y
    [SORT] => 10
    [NAME] => Top banner
    [DESCRIPTION] => type description
    [DATE_CREATE] => 03.06.2004 17:27:00
    [DATE_MODIFY] => 03.06.2004 17:27:00
    [CREATED_BY] => 2
    [MODIFIED_BY] => 2
    [BANNER_COUNT] => 63
)
?>