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

  • Calendars
  • CalendarSetup
  • Tasks

Class CalendarSetup

CActiveRecord
Extended by application\core\model\Model
Extended by application\modules\calendar\model\CalendarSetup
Namespace: application\modules\calendar\model
Copyright: Copyright © 2008-2013 IBOS Inc
Author: gzhzh gzhzh@ibos.com.cn
Located at system/modules/calendar/model/CalendarSetup.php

Methods summary

public static
# model( $className = __CLASS__ )
public
# tableName( )
public array
# fetchSetupByUid( integer $uid )

通过uid查找用户的日程设置

通过uid查找用户的日程设置

Parameters

$uid
用户id

Returns

array
public array
# getWorkTimeByUid( integer $uid )

根据用户uid获取日程设置的开始和结束时间

根据用户uid获取日程设置的开始和结束时间

Parameters

$uid
用户id

Returns

array
public array
# getHiddenDaysByUid( integer $uid )

根据用户uid获取日程设置隐藏的日期

根据用户uid获取日程设置隐藏的日期

Parameters

$uid
用户id

Returns

array
public
# updataSetup( type $uid, type $minTime, type $maxTime, type $hiddenDays )

修改某个用户的日程设置

修改某个用户的日程设置

Parameters

$uid
用户uid
$minTime
$maxTime
$hiddenDays

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