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

  • Log
  • Model
  • Module
  • Regular
  • Source

Class Log

Namespace: application\core\model
Located at system/core/model/Log.php

Methods summary

public static
# write( array $msg, string $level = 'action', string $category = 'module' )

写入日志

写入日志

Parameters

$msg
$level
日志层级
$category
public static array
# fetchAllByList( integer $tableId, string $condition = '', integer $limit = 20, integer $offset = 0, string $order = 'logtime DESC' )

查询列表数据

查询列表数据

Parameters

$tableId
存档表ID
$condition
查询条件
$limit
$offset
$order

Returns

array
public static type
# countByTableId( type $tableId = 0, type $condition = '' )

根据存档表统计条数

根据存档表统计条数

Parameters

$tableId
$condition

Returns

type
public static integer
# getLogTableId( )

获取日志存档表ID

获取日志存档表ID

Returns

integer
public static string
# getTableName( integer $tableId = 0 )

根据存档表id获取存档表名

根据存档表id获取存档表名

Parameters

$tableId
存档表id

Returns

string
public static array
# getAllArchiveTableId( )

获取所有存档表的年份后缀ID,返回一个一维数组

获取所有存档表的年份后缀ID,返回一个一维数组

Returns

array
IBOS open source API documentation generated by ApiGen