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 DiaryStats

CActiveRecord
Extended by application\core\model\Model
Extended by application\modules\diary\model\DiaryStats
Namespace: application\modules\diary\model
Located at system/modules/diary/model/DiaryStats.php

Methods summary

public static
# model( $className = __CLASS__ )
public
# tableName( )
public integer
# countScoreByUid( integer $uid, integer $start, integer $end )

统计指定用户指定时间范围内的日志分数

统计指定用户指定时间范围内的日志分数

Parameters

$uid
$start
$end

Returns

integer
public array
# fetchAllStampByUid( integer $uid, integer $start, integer $end )

Parameters

$uid
$start
$end

Returns

array
public array
# fetchAllStatisticsByUid( integer $uid, integer $start, integer $end )

获取指定用户指定时间范围内的积分统计数据

获取指定用户指定时间范围内的积分统计数据

Parameters

$uid
$start
$end

Returns

array
public
# scoreDiary( integer $diaryId, integer $uid, integer $stamp )

给一篇日志打分

给一篇日志打分

Parameters

$diaryId
日志id
$uid
日志所属uid
$stamp
图章id

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