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

  • CalendarRecord
  • Diary
  • DiaryAttention
  • DiaryRecord
  • DiaryShare
  • DiaryStats

Class DiaryRecord

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

Methods summary

public static
# model( $className = __CLASS__ )
public
# tableName( )
public
# fetchAllByPlantime( integer $plantime, $uid = 0 )

根据计划时间取出当天计划任务

根据计划时间取出当天计划任务

Parameters

$plantime
$uid
public
# addRecord( array $plan, $diaryId, $planTime, integer $uid, string $type )

保存计划外或新的的计划

保存计划外或新的的计划

Parameters

$plan
数据
$diaryId
工作日志Id
$planTime
工作日志计划时间
$uid
用户Id
$type
值为outside,new
public string
# fetchContentByRecordId( integer $recordId )

根据计划id获取内容

根据计划id获取内容

Parameters

$recordId
计划id

Returns

string

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