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

  • BaseController
  • CategoryController
  • CommentController
  • DashboardController
  • DefaultController

Class DefaultController

CController
Extended by application\core\controllers\Controller
Extended by application\modules\article\controllers\BaseController
Extended by application\modules\article\controllers\DefaultController
Namespace: application\modules\article\controllers
Copyright: Copyright © 2008-2013 IBOS Inc
Author: gzwwb gzwwb@ibos.com.cn
Located at system/modules/article/controllers/DefaultController.php

Methods summary

public
# actionIndex( )

获取全部新闻

获取全部新闻

public
# actionAdd( )

添加文章

添加文章

protected boolean
# checkIsAllowPublish( integer $catid,…, integer $uid,… )

判断某个uid在某个分类下是否有直接发布权限

判断某个uid在某个分类下是否有直接发布权限

Parameters

$catid,…
分类id
$uid,…
用户id

Returns

boolean
public
# actionEdit( )

编辑文章

编辑文章

public
# actionDel( )

删除文章,附带把评论,投票,附件等内容删除

删除文章,附带把评论,投票,附件等内容删除

Methods inherited from application\modules\article\controllers\BaseController

getCategoryOption(), getDashboardConfig(), getEmailInstalled(), getSidebar(), getVoteInstalled()

Methods inherited from application\core\controllers\Controller

__construct(), actionError(), ajaxReturn(), error(), filterNotAuthModule(), filterRoutes(), getAssetUrl(), init(), render(), setTitle(), showMessage(), success()

Constants summary

Constants inherited from application\modules\article\controllers\BaseController

ARTICLE_TYPE_DEFAULT, ARTICLE_TYPE_LINK, ARTICLE_TYPE_PICTURE

Constants inherited from application\core\controllers\Controller

DEFAULT_JSONP_HANDLER

Properties summary

Properties inherited from application\modules\article\controllers\BaseController

$catid, $condition

Properties inherited from application\core\controllers\Controller

$layout

IBOS open source API documentation generated by ApiGen