a-blog cms PHP API Reference

ACMS_POST
in package

Table of Contents

Properties

$Get  : Field
$isCacheDelete  : bool
$Post  : Field_Validation
$Q  : Field
$checkDoubleSubmit  : bool
$errors  : Field_Validation
$isCSRF  : bool
$messages  : Field_Validation
$systemErrors  : Field_Validation

Methods

archivesDir()  : string
ToDo: deprecated method 2.7.0
extract()  : Field_Validation
ToDo: deplicated mehod Ver. 2.7.0
fire()  : Field_Validation
genPass()  : string
ToDo: deprecated method 2.7.0
getMailTxt()  : string
ToDo: deprecated method 2.7.0
getUriObject()  : Field
ToDo: deprecated method 2.7.0
loadBlogFulltext()  : string
ToDo: deprecated method 2.7.0
loadCategoryFulltext()  : string
ToDo: deprecated method 2.7.0
loadEntryFulltext()  : string
ToDo: deprecated method 2.7.0
loadUserFulltext()  : string
ToDo: deprecated method 2.7.0
mailConfig()  : mixed
ToDo: deprecated method 2.7.0
post()  : Field_Validation|never
redirect()  : mixed
removeDir()  : bool
ToDo: deprecated method 2.7.0
saveField()  : bool
カスタムフィールドを保存する
saveFulltext()  : bool
ToDo: deprecated method 2.7.0
saveGeometry()  : void
位置情報を保存する
setupDir()  : bool
ToDo: deprecated method 2.7.0
addError()  : mixed
エラーメッセージの表示登録
addMessage()  : mixed
管理画面に出力するメッセージを追加
addSystemError()  : mixed
システムエラーの表示登録
checkConfigSetScope()  : bool
コンフィグセットのスコープが正しいか判定
checkCsrfToken()  : bool
CSRFトークンのチェック
checkDoubleSubmit()  : bool
二重送信のチェック
checkScope()  : bool
エイリアスのスコープが正しいか判定
csrfTokenExists()  : bool
CSRFトークンの存在チェック
extractWorkflow()  : Field_Validation
ワークフローのデータをPostから抽出する
saveWorkflow()  : void
ワークフローのデータを保存する
shouldCheckDoubleSubmit()  : mixed
shouldClearCache()  : bool
キャッシュクリアが必要かどうかを判断

Properties

$isCacheDelete

public bool $isCacheDelete = \true

$checkDoubleSubmit

protected bool $checkDoubleSubmit = \false

$isCSRF

protected bool $isCSRF = \true

Methods

archivesDir()

ToDo: deprecated method 2.7.0

public archivesDir() : string
Return values
string

genPass()

ToDo: deprecated method 2.7.0

public genPass(int $len) : string
Parameters
$len : int

パスワードの長さ

Return values
string

getMailTxt()

ToDo: deprecated method 2.7.0

public getMailTxt(string $tplFile, Field $Field[, string|null $charset = null ]) : string
Parameters
$tplFile : string
$Field : Field
$charset : string|null = null
Return values
string

getUriObject()

ToDo: deprecated method 2.7.0

public getUriObject(Field $Post) : Field
Parameters
$Post : Field
Return values
Field

loadBlogFulltext()

ToDo: deprecated method 2.7.0

public loadBlogFulltext(int $bid) : string
Parameters
$bid : int
Return values
string

loadCategoryFulltext()

ToDo: deprecated method 2.7.0

public loadCategoryFulltext(int $cid) : string
Parameters
$cid : int
Return values
string

loadEntryFulltext()

ToDo: deprecated method 2.7.0

public loadEntryFulltext(int $eid) : string
Parameters
$eid : int
Return values
string

loadUserFulltext()

ToDo: deprecated method 2.7.0

public loadUserFulltext(int $uid) : string
Parameters
$uid : int
Return values
string

mailConfig()

ToDo: deprecated method 2.7.0

public mailConfig([array{smtp-host?: string, smtp-port?: string, smtp-user?: string, smtp-pass?: string, smtp-verify-peer?: string, mail_from?: string, sendmail_path?: string, additional_headers?: string} $argConfig = [] ]) : mixed
Parameters
$argConfig : array{smtp-host?: string, smtp-port?: string, smtp-user?: string, smtp-pass?: string, smtp-verify-peer?: string, mail_from?: string, sendmail_path?: string, additional_headers?: string} = []

redirect()

public redirect([mixed $url = null ][, mixed $sid = null ][, mixed $auth = false ]) : mixed
Parameters
$url : mixed = null
$sid : mixed = null
$auth : mixed = false

removeDir()

ToDo: deprecated method 2.7.0

public removeDir(string $dir) : bool
Parameters
$dir : string
Return values
bool

saveField()

カスタムフィールドを保存する

public saveField(string $type, int $id[, Field|null $Field = null ][, Field|null $deleteField = null ][, int|null $rvid = null ]) : bool
Parameters
$type : string
$id : int
$Field : Field|null = null
$deleteField : Field|null = null
$rvid : int|null = null
Return values
bool

saveFulltext()

ToDo: deprecated method 2.7.0

public saveFulltext(string $type, int $id[, string|null $fulltext = null ]) : bool
Parameters
$type : string

フルテキストのタイプ

$id : int
$fulltext : string|null = null
Return values
bool

saveGeometry()

位置情報を保存する

public saveGeometry(string $type, int $id[, Field|null $Field = null ][, int|null $rvid = null ]) : void
Parameters
$type : string
$id : int
$Field : Field|null = null
$rvid : int|null = null

setupDir()

ToDo: deprecated method 2.7.0

public setupDir(string $path, int $mod) : bool
Parameters
$path : string
$mod : int

未使用の引数

Return values
bool

addError()

エラーメッセージの表示登録

protected addError(string $message) : mixed
Parameters
$message : string

addMessage()

管理画面に出力するメッセージを追加

protected addMessage(string $message) : mixed
Parameters
$message : string

addSystemError()

システムエラーの表示登録

protected addSystemError(string $block) : mixed
Parameters
$block : string

checkConfigSetScope()

コンフィグセットのスコープが正しいか判定

protected checkConfigSetScope(int $setid) : bool
Parameters
$setid : int
Return values
bool

checkCsrfToken()

CSRFトークンのチェック

protected checkCsrfToken() : bool
Return values
bool

checkDoubleSubmit()

二重送信のチェック

protected checkDoubleSubmit() : bool
Return values
bool

checkScope()

エイリアスのスコープが正しいか判定

protected checkScope([string $scope = 'local' ]) : bool
Parameters
$scope : string = 'local'
Return values
bool

csrfTokenExists()

CSRFトークンの存在チェック

protected csrfTokenExists() : bool
Return values
bool

saveWorkflow()

ワークフローのデータを保存する

protected saveWorkflow(Field $workflow, int $bid[, int|null $cid = null ]) : void
Parameters
$workflow : Field
$bid : int
$cid : int|null = null

shouldCheckDoubleSubmit()

protected shouldCheckDoubleSubmit() : mixed

shouldClearCache()

キャッシュクリアが必要かどうかを判断

protected shouldClearCache() : bool
Return values
bool

        
On this page

Search results