CDBResult CIBlock::GetSite( int iblock_id );
Returns a list of sites to which the information block is bound.
| Parameter | Description |
|---|---|
| iblock_id | Information block ID. |
Returns an instance of CDBResult with the site fields.
<?
$db_iblock_type = CIBlockType::GetList();
while($ar_iblock_type = $db_iblock_type->Fetch())
{
if($arIBType = CIBlockType::GetByIDLang($ar_iblock_type["ID"], LANG))
{
echo htmlspecialcharsex($arIBType["NAME"])."<br>";
}
}
?>
| © 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |