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

  • Attachment
  • AttachmentN
  • AttachmentUnused
  • Cron
  • MenuCommon
  • MenuPersonal
  • ModuleGuide
  • Process
  • Session
  • Setting

Class Setting

CActiveRecord
Extended by application\core\model\Model
Extended by application\modules\main\model\Setting
Namespace: application\modules\main\model
Copyright: Copyright © 2012-2013 IBOS Inc
Author: banyanCheung banyan@ibos.com.cn
Located at system/modules/main/model/Setting.php

Methods summary

public static
# model( $className = __CLASS__ )
public
# tableName( )
public string
# fetchSettingValueByKey( string $sKey )

根据skey获取对应的设置值

根据skey获取对应的设置值

Parameters

$sKey

Returns

string

Author

Ring
public array
# fetchSettingValueByKeys( string $sKeys, $autoUnserialize = false )

查找多个skey对应的value,返回key=>value关联数组

查找多个skey对应的value,返回key=>value关联数组

Parameters

$sKeys
逗号分隔的key
$autoUnserialize

Returns

array
public boolean
# updateSettingValueByKey( string $sKey, mixed $sValue )

根据skey和svalue更新对应数据

根据skey和svalue更新对应数据

Parameters

$sKey
$sValue

Returns

boolean

Author

Ring
public array
# fetchAllSetting( )

获取全部设置

获取全部设置

Returns

array
public
# SetIbosCloudIsOpen( string $isOpen )

设置iboscloud的值里的isopen

设置iboscloud的值里的isopen

Parameters

$isOpen
1或者0

Methods inherited from application\core\model\Model

add(), beforeDelete(), create(), deleteByPk(), fetch(), fetchAll(), fetchAllByAttributes(), fetchAllByPk(), fetchAllSortByPk(), fetchByAttributes(), fetchByPk(), fetchCache(), fetchCaches(), getCacheKey(), getIsAllowCache(), getMaxId(), getModelClass(), init(), modify(), remove(), updateAll(), updateByPk()

Properties summary

Properties inherited from application\core\model\Model

$allowCache, $cacheLife

IBOS open source API documentation generated by ApiGen