Overview

Packages

  • None
  • WxRobot
    • Admin
    • Cmd
    • CoreFunctions
    • Exends
    • Install
    • Table
    • Uninstall
    • WxSDK

Classes

  • ErrorCode
  • PKCS7Encoder
  • Prpcrypt
  • SHA1
  • Weixin_BaseCore
  • WeiXin_SDK
  • Weixin_Template
  • WXBizMsgCrypt
  • WxRobot_Admin
  • WxRobot_Admin_Menu_Extends
  • WxRobot_Admin_Menu_Instro
  • WxRobot_Admin_Menu_Menu
  • WxRobot_Admin_Menu_Records
  • WxRobot_Admin_Menu_Reply
  • WxRobot_Admin_Menu_Setting
  • WxRobot_Admin_Menu_Statistics
  • WxRobot_Cmd
  • WxRobot_Cmd_Event
  • WxRobot_Cmd_Event_User
  • WxRobot_Cmd_Text
  • WxRobot_Extends
  • WxRobot_Install
  • WxRobot_Robot
  • WxRobot_SDK
  • WxRobot_Table_Extends
  • WxRobot_Table_Menu
  • WxRobot_Table_Records
  • WxRobot_Table_Reply
  • WxRobot_Uninstall
  • WxRobot_Wp
  • XMLParse

Functions

  • wx_admin_log
  • wx_is_xml
  • wx_notice_msg
  • wx_parse_xml
  • wx_random_big_pic
  • wx_random_small_pic
  • wx_request_array
  • wx_request_decode
  • wx_request_is_encode
  • wx_request_xml
  • wx_send_encode
  • Overview
  • Package
  • Class
 1: <?php
 2: /**
 3:  * WxRobot Admin
 4:  * 
 5:  * WP微信机器人后台菜单 - 插件功能介绍
 6:  *
 7:  * @author      midoks
 8:  * @category    Admin
 9:  * @package     WxRobot/Admin
10:  * @since       5.3.0
11:  */
12: 
13: if ( ! defined( 'ABSPATH' ) ) {
14:     exit;
15: }
16: 
17: if( !class_exists('WxRobot_Admin_Menu_Instro') ):
18: 
19: /**
20:  * WxRobot_Admin_Menu_Instro 插件功能介绍
21:  */
22: class WxRobot_Admin_Menu_Instro{
23: 
24:     /**
25:      * 菜单初始化
26:      * 
27:      * @return void
28:      */
29:     public function menu(){
30:         add_menu_page('微信机器人',
31:             _('微信机器人'),
32:             'manage_options',
33:             'weixin-robot',
34:             array(&$this, 'weixin_robot_instro'),
35:             WEIXIN_ROBOT_URL.'/weixin_robot.png');
36:     }
37: 
38:     /**
39:      * WP微信机器人介绍
40:      *
41:      * @return void
42:      */
43:     public function weixin_robot_instro(){
44:         echo file_get_contents(WEIXIN_ROBOT.'assets/weixin_robot_instro.html');
45:         do_action('weixin_midoks_push');    
46:     }
47: 
48:     
49: }
50: 
51: endif;
52: ?>
53: 
API documentation generated by ApiGen