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 Cron

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

Methods summary

public static
# model( $className = __CLASS__ )
public
# tableName( )
public array
# fetchByNextRun( integer $timestamp = TIMESTAMP )

查找下一条可执行的定时任务

查找下一条可执行的定时任务

Parameters

$timestamp
用于对比的时间戳

Returns

array
public array
# fetchByNextCron( )

按照下一次执行时间排序的下一条定时任务

按照下一次执行时间排序的下一条定时任务

Returns

array

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