CBitrixCloudMobile::OnBeforeAdminMobileMenuBuild: Bitrix method

      
<?php 
//  CBitrixCloudMobile :: OnBeforeAdminMobileMenuBuild()
//  /dist/bitrix/modules/bitrixcloud/classes/general/mobile.php:19

    /**
     * Builds menu
     *
     * @return void
     *
     * RegisterModuleDependences(
     *     "mobileapp",
     *     "OnBeforeAdminMobileMenuBuild",
     *     "bitrixcloud",
     *     "CBitrixCloudMobile",
     *     "OnBeforeAdminMobileMenuBuild"
     * );
     */
    
public static function OnBeforeAdminMobileMenuBuild()
    {
        global 
$USER;

        if (
$USER->CanDoOperation("bitrixcloud_monitoring"))
        {
            
CAdminMobileMenu::addItem(array(
                
"text" => GetMessage("BCL_MON_MOB_INSPECTOR"),
                
"type" => "section",
                
"sort" => 300,
                
"items" => array(
                    array(
                        
"text" => GetMessage("BCL_MON_MOB_MENU_IPAGE"),
                        
"data-url" => "/bitrix/admin/mobile/bitrixcloud_monitoring_ipage.php",
                        
"data-pageid" => "bitrix_cloud_monitoring_info",
                        
"push-param" => "bc"
                    
),
                    array(
                        
"text" => GetMessage("BCL_MON_MOB_MENU_PUSH"),
                        
"data-url" => "/bitrix/admin/mobile/bitrixcloud_monitoring_push.php",
                        
"data-pageid" => "bitrix_cloud_monitoring_push",
                    ),
                ),
            ));
        }
    }