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

  • Common
  • Feed

Class Common

Namespace: application\modules\weibo\utils
Copyright: Copyright © 2008-2013 IBOS Inc
Author: banyan banyan@ibos.com.cn
Located at system/modules/weibo/utils/Common.php

Methods summary

public static string
# getThumbImageUrl( array $attach, integer $width, integer $height )

获取缩略图地址,无则生成

获取缩略图地址,无则生成

Parameters

$attach
附件数组
$width
缩略图之宽
$height
缩略图之高

Returns

string
缩略图地址
public static string
# getThumbName( array $attach, integer $width, integer $height )

获取缩略图的名称

获取缩略图的名称

Parameters

$attach
附件数组
$width
缩略图之宽
$height
缩略图之高

Returns

string
缩略图地址
public static string
# makeThumb( array $attach, integer $width, integer $height )

生成缩略图

生成缩略图

Parameters

$attach
附件数组
$width
宽度
$height
高度

Returns

string
生成的缩略图名称
public static boolean
# isResize( string $imageName )

检查一张图片是否有被调整过

检查一张图片是否有被调整过

Parameters

$imageName
图片地址

Returns

boolean
public static mixed
# getSetting( string $loadcache = false )

获取微博配置

获取微博配置

Parameters

$loadcache
是否返回已在内存里的缓存值

Returns

mixed
public static array
# getMovementModules( )

获取所有可用产生动态的模块

获取所有可用产生动态的模块

Returns

array
模块数组
IBOS open source API documentation generated by ApiGen