PHP Class BlogCommentsController

Inheritance: extends BlogAppController
Afficher le fichier Open project: baserproject/basercms

Méthodes publiques

Свойство Type Description
$components array コンポーネント
$uses array モデル

Méthodes publiques

Méthode Description
add ( string $blogContentId, string $blogPostId ) : boolean [AJAX] ブログコメントを登録する
admin_ajax_delete ( integer $blogContentId, integer $blogPostId, integer $id = null ) : void [ADMIN] 削除処理 (ajax)
admin_ajax_publish ( string $blogContentId, string $blogPostId, $id ) : void [ADMIN] 有効状態にする(AJAX)
admin_ajax_unpublish ( string $blogContentId, string $blogPostId, $id ) : void [ADMIN] 無効状態にする(AJAX)
admin_index ( $blogContentId, $blogPostId = null ) : void [ADMIN] ブログを一覧表示する
beforeFilter ( ) : void beforeFilter
beforeRender ( ) : void beforeRender
captcha ( $token = null ) : void 認証用のキャプチャ画像を表示する
get_token ( ) コメント送信用にAjax経由でトークンを取得するアクション
smartphone_add ( string $blogContentId, string $blogPostId ) : boolean [AJAX] ブログコメントを登録する
smartphone_captcha ( $token = null ) : void [SMARTPHONE] 認証用のキャプチャ画像を表示する

Méthodes protégées

Méthode Description
_batch_del ( $ids ) : void [ADMIN] 一括削除
_batch_publish ( array $ids ) : boolean 一括公開
_batch_unpublish ( array $ids ) : boolean 一括非公開
_changeStatus ( integer $id, boolean $status ) : boolean ステータスを変更する
_del ( integer $id = null ) : void 削除処理

Method Details

_batch_del() protected méthode

[ADMIN] 一括削除
protected _batch_del ( $ids ) : void
Résultat void

_batch_publish() protected méthode

一括公開
protected _batch_publish ( array $ids ) : boolean
$ids array
Résultat boolean

_batch_unpublish() protected méthode

一括非公開
protected _batch_unpublish ( array $ids ) : boolean
$ids array
Résultat boolean

_changeStatus() protected méthode

ステータスを変更する
protected _changeStatus ( integer $id, boolean $status ) : boolean
$id integer
$status boolean
Résultat boolean

_del() protected méthode

削除処理
protected _del ( integer $id = null ) : void
$id integer
Résultat void

add() public méthode

[AJAX] ブログコメントを登録する
public add ( string $blogContentId, string $blogPostId ) : boolean
$blogContentId string
$blogPostId string
Résultat boolean

admin_ajax_delete() public méthode

[ADMIN] 削除処理 (ajax)
public admin_ajax_delete ( integer $blogContentId, integer $blogPostId, integer $id = null ) : void
$blogContentId integer
$blogPostId integer
$id integer
Résultat void

admin_ajax_publish() public méthode

[ADMIN] 有効状態にする(AJAX)
public admin_ajax_publish ( string $blogContentId, string $blogPostId, $id ) : void
$blogContentId string
$blogPostId string beforeFilterで利用
Résultat void

admin_ajax_unpublish() public méthode

[ADMIN] 無効状態にする(AJAX)
public admin_ajax_unpublish ( string $blogContentId, string $blogPostId, $id ) : void
$blogContentId string
$blogPostId string beforeFilterで利用
Résultat void

admin_index() public méthode

[ADMIN] ブログを一覧表示する
public admin_index ( $blogContentId, $blogPostId = null ) : void
Résultat void

beforeFilter() public méthode

beforeFilter
public beforeFilter ( ) : void
Résultat void

beforeRender() public méthode

beforeRender
public beforeRender ( ) : void
Résultat void

captcha() public méthode

認証用のキャプチャ画像を表示する
public captcha ( $token = null ) : void
Résultat void

get_token() public méthode

コメント送信用にAjax経由でトークンを取得するアクション
public get_token ( )

smartphone_add() public méthode

[AJAX] ブログコメントを登録する
public smartphone_add ( string $blogContentId, string $blogPostId ) : boolean
$blogContentId string
$blogPostId string
Résultat boolean

smartphone_captcha() public méthode

[SMARTPHONE] 認証用のキャプチャ画像を表示する
public smartphone_captcha ( $token = null ) : void
Résultat void

Property Details

$components public_oe property

コンポーネント
public array $components
Résultat array

$uses public_oe property

モデル
public array $uses
Résultat array