View file mc-master/modules/ads_manager/helpers/ads_manager_events.php

File size: 724B
<?php

/**
 * MobileCMS
 *
 * Open source content management system for mobile sites
 *
 * @author MobileCMS Team <[email protected]>
 * @copyright Copyright (c) 2011-2019, MobileCMS Team
 * @link https://mobilecms.pro Official site
 * @license MIT license
 */


/**
 * Хелпер событий модуля событий
 */
class ads_manager_events
{

    /**
     * Перед выполнением контроллера
     */
    public static function pre_controller($db)
    {
        a_import('modules/ads_manager/helpers/ads_manager');
        $ads_manager_links = ads_manager::get_links($db);

        Registry::set('ads_manager_links', $ads_manager_links);
    }

}

?>