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

  • Announcement
  • Approval
  • Cache
  • Credit
  • CreditLog
  • CreditRule
  • CreditRuleLog
  • CreditRuleLogField
  • IpBanned
  • LoginTemplate
  • Menu
  • Nav
  • Page
  • Stamp
  • Syscache
  • Syscode

Class Syscode

CActiveRecord
Extended by application\core\model\Model
Extended by application\modules\dashboard\model\Syscode
Namespace: application\modules\dashboard\model
Copyright: Copyright © 2012-2013 IBOS Inc
Author: Ring Ring@ibos.com.cn
Located at system/modules/dashboard/model/Syscode.php

Methods summary

public static
# model( $className = __CLASS__ )
public
# tableName( )
public
# fetchAllByAllPid( )
public integer
# deleteById( string $ids )

根据Id字符串删除非系统代码

根据Id字符串删除非系统代码

Parameters

$ids

Returns

integer
删除的条数
public array
# fetchSubByPnum( string $number, string $key = 'id' )

根据父类代码编号返回子类代码信息的数组

根据父类代码编号返回子类代码信息的数组

Parameters

$number
$key
以哪个字段作为下标

Returns

array
public
# fetchByNum( string $number, integer $pid = 0 )

根据代码编号返回代码信息

根据代码编号返回代码信息

Parameters

$number
代码编号
$pid
默认只查找父类(即pid等于0)

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