'type' => BX_DOL_MODULE_TYPE_MODULE,
'name' => 'bx_quoteofday',
'title' => 'Quote of the Day',
'version' => '15.0.1.DEV',
'home_dir' => 'boonex/quoteofday/',
'home_uri' => 'quoteofday',
'db_prefix' => 'bx_quoteofday_',
'class_prefix' => 'BxQuoteOfDay',
'language_category' => 'Quote Of Day',
INSERT INTO `sys_std_pages`(`index`, `name`, `header`, `caption`, `icon`) VALUES
(3, @sName, '_bx_quoteofday', '_bx_quoteofday', 'bx_quoteofday@modules/boonex/quoteofday/|std-icon.svg');
SET @iPageId = LAST_INSERT_ID();
INSERT INTO `sys_std_widgets` (`page_id`, `module`, `type`, `url`, `click`, `icon`, `caption`, `cnt_notices`, `cnt_actions`, `featured`)
VALUES(@iPageId, @sName, 'content', '{url_studio}module.php?name=bx_quoteofday', '', 'bx_quoteofday@modules/boonex/quoteofday/|std-icon.svg', '_bx_quoteofday', '', 'a:4:{s:6:"module";s:6:"system";s:6:"method";s:11:"get_actions";s:6:"params";a:0:{}s:5:"class";s:18:"TemplStudioModules";}', 0);
bx_alert('bx_posts', 'add', $iPostId, $iProfileId, [
'content' => $sContent,
'title' => $sTitle,
'module' => $this->_oConfig->getName(),
]);
INSERT INTO `sys_alerts_handlers` (`name`, `class`, `file`, `service_call`) VALUES
(@sName, 'BxQuoteOfDayAlertsResponse', 'modules/boonex/quoteofday/classes/BxQuoteOfDayAlertsResponse.php', '');
SET @iHandler := LAST_INSERT_ID();
INSERT INTO `sys_alerts` (`unit`, `action`, `handler_id`) VALUES
('system', 'save_setting', @iHandler);
'relations' => array(
'bx_timeline',
'bx_notifications'
),