IBOS open source
  • Namespace
  • Class

Namespaces

  • application
    • core
      • cache
        • driver
        • provider
      • components
      • controllers
      • engines
        • local
        • sae
      • model
      • modules
      • utils
      • widgets
    • modules
      • article
        • controllers
        • core
        • model
        • utils
      • calendar
        • controllers
        • model
        • utils
      • contact
        • controllers
        • model
        • utils
      • dashboard
        • controllers
        • model
        • utils
      • department
        • components
        • model
        • utils
      • diary
        • components
        • controllers
        • model
        • utils
        • widgets
      • email
        • controllers
        • core
        • model
        • utils
      • main
        • behaviors
        • components
        • controllers
        • model
        • utils
        • widgets
      • message
        • controllers
        • core
          • co
          • wx
            • callback
            • event
        • model
        • utils
      • mobile
        • components
        • controllers
        • utils
      • position
        • components
        • model
        • utils
      • recruit
        • components
        • controllers
        • core
        • model
        • utils
        • widgets
      • role
        • model
        • utils
      • user
        • components
        • controllers
        • model
        • utils
      • vote
        • components
        • controllers
        • model
        • utils
      • weibo
        • controllers
        • core
        • model
        • utils

Classes

  • Main
  • SinglePage
  • VoiceConferenceApi

Class Main

Namespace: application\modules\main\utils
Copyright: Copyright © 2012-2013 IBOS Inc
Author: banyanCheung banyan@ibos.com.cn
Located at system/modules/main/utils/Main.php

Methods summary

public static
# setCookie( string $var, string $value = '', integer $life = 0, integer $prefix = 1, boolean $httpOnly = false )

设置cookie

设置cookie

Parameters

$var
变量名
$value
变量值
$life
生命期
$prefix
前缀
$httpOnly
安全属性
public static mixed
# getCookie( string $var, integer $prefix = 1 )

取得cookie

取得cookie

Parameters

$var
$prefix

Returns

mixed
public static
# clearCookies( )

清除所有cookie

清除所有cookie

public static string
# getIncentiveWord( )

获取随机名言

获取随机名言

Returns

string
public static array
# execLoadSetting( string $method, array $widgetArr )

api执行方法

api执行方法

Parameters

$method
要执行的方法名
$widgetArr
widget数组

Returns

array
public static array
# getModuleParamsForJs( )

为JS提供全局的一些模块参数

为JS提供全局的一些模块参数

Returns

array
IBOS open source API documentation generated by ApiGen