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 Stamp

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

Methods summary

public static
# model( $className = __CLASS__ )
public
# tableName( )
public integer
# getMaxSort( )

返回最大排序号

返回最大排序号

Returns

integer
public string
# fetchStampById( integer $id )

获取图章地址

获取图章地址

Parameters

$id

Returns

string
public string
# fetchIconById( integer $id )

获取图标地址

获取图标地址

Parameters

$id

Returns

string
public array
# fetchByPk( type $pk )

采用静态缓存方法封装

采用静态缓存方法封装

Parameters

$pk

Returns

array

Overrides

application\core\model\Model::fetchByPk
public
# delImg( integer $id, string $index = '' )

删除图章记录里的图像文件

删除图章记录里的图像文件

Parameters

$id
图章ID
$index
文件类型的索引
public
# deleteByIds( array $ids, string $stampPath,… )

根据ID删除记录与图章和图标

根据ID删除记录与图章和图标

Parameters

$ids
id数组
$stampPath,…
图章与图标所在路径
public array
# fetchAllIds( )

获取所有图章id

获取所有图章id

Returns

array

Methods inherited from application\core\model\Model

add(), beforeDelete(), create(), deleteByPk(), fetch(), fetchAll(), fetchAllByAttributes(), fetchAllByPk(), fetchAllSortByPk(), fetchByAttributes(), fetchCache(), fetchCaches(), getCacheKey(), getIsAllowCache(), getMaxId(), getModelClass(), init(), modify(), remove(), updateAll(), updateByPk()

Constants summary

string STAMP_PATH
# 'data/stamp/'

Properties summary

protected boolean $allowCache

允许缓存

允许缓存

# true

Properties inherited from application\core\model\Model

$cacheLife

IBOS open source API documentation generated by ApiGen