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
$Get
public
Field
$Get
$isCacheDelete
public
bool
$isCacheDelete
= \true
$Post
public
Field_Validation
$Post
$Q
public
Field
$Q
$checkDoubleSubmit
protected
bool
$checkDoubleSubmit
= \false
$errors
protected
Field_Validation
$errors
$isCSRF
protected
bool
$isCSRF
= \true
$messages
protected
Field_Validation
$messages
$systemErrors
protected
Field_Validation
$systemErrors
Methods
archivesDir()
ToDo: deprecated method 2.7.0
public
archivesDir() : string
Return values
stringextract()
ToDo: deplicated mehod Ver. 2.7.0
public
extract([string $scp = 'field' ][, ACMS_Validator|null $V = null ][, Field|null &$deleteField = null ]) : Field_Validation
Parameters
- $scp : string = 'field'
- $V : ACMS_Validator|null = null
- $deleteField : Field|null = null
Return values
Field_Validationfire()
public
fire() : Field_Validation
Return values
Field_ValidationgenPass()
ToDo: deprecated method 2.7.0
public
genPass(int $len) : string
Parameters
- $len : int
-
パスワードの長さ
Return values
stringgetMailTxt()
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
stringgetUriObject()
ToDo: deprecated method 2.7.0
public
getUriObject(Field $Post) : Field
Parameters
- $Post : Field
Return values
FieldloadBlogFulltext()
ToDo: deprecated method 2.7.0
public
loadBlogFulltext(int $bid) : string
Parameters
- $bid : int
Return values
stringloadCategoryFulltext()
ToDo: deprecated method 2.7.0
public
loadCategoryFulltext(int $cid) : string
Parameters
- $cid : int
Return values
stringloadEntryFulltext()
ToDo: deprecated method 2.7.0
public
loadEntryFulltext(int $eid) : string
Parameters
- $eid : int
Return values
stringloadUserFulltext()
ToDo: deprecated method 2.7.0
public
loadUserFulltext(int $uid) : string
Parameters
- $uid : int
Return values
stringmailConfig()
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} = []
post()
public
post() : Field_Validation|never
Return values
Field_Validation|neverredirect()
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
boolsaveField()
カスタムフィールドを保存する
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
boolsaveFulltext()
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
boolsaveGeometry()
位置情報を保存する
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
booladdError()
エラーメッセージの表示登録
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
boolcheckCsrfToken()
CSRFトークンのチェック
protected
checkCsrfToken() : bool
Return values
boolcheckDoubleSubmit()
二重送信のチェック
protected
checkDoubleSubmit() : bool
Return values
boolcheckScope()
エイリアスのスコープが正しいか判定
protected
checkScope([string $scope = 'local' ]) : bool
Parameters
- $scope : string = 'local'
Return values
boolcsrfTokenExists()
CSRFトークンの存在チェック
protected
csrfTokenExists() : bool
Return values
boolextractWorkflow()
ワークフローのデータをPostから抽出する
protected
extractWorkflow() : Field_Validation
Return values
Field_ValidationsaveWorkflow()
ワークフローのデータを保存する
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