CMSimple_XH 開発者ドキュメント
XH\TextFileEdit クラス
XH\TextFileEdit の継承関係図
XH\FileEdit XH\CoreTextFileEdit XH\PluginTextFileEdit

公開メンバ関数

 __construct ()
 
 form ()
 
 submit ()
 
- 基底クラス XH\FileEdit に属する継承公開メンバ関数
 form ()
 
 submit ()
 

限定公開メンバ関数

 asString ()
 
- 基底クラス XH\FileEdit に属する継承限定公開メンバ関数
 save ()
 
 asString ()
 

限定公開変数類

 $textareaName = null
 
 $text = null
 
- 基底クラス XH\FileEdit に属する継承限定公開変数類
 $params = array()
 
 $plugin = null
 
 $caption = null
 
 $filename = null
 
 $redir = null
 

詳解

TextFileEdit.php28 行目に定義があります。

構築子と解体子

◆ __construct()

XH\TextFileEdit::__construct ( )

Constructs an instance.

TextFileEdit.php47 行目に定義があります。

関数詳解

◆ asString()

XH\TextFileEdit::asString ( )
protected

Returns the the file contents as string for saving.

戻り値
string

TextFileEdit.php127 行目に定義があります。

◆ form()

XH\TextFileEdit::form ( )

Returns the form to edit the file contents.

戻り値
string HTML

string The script name. array The localization of the core. string The title of the current page. object The CSRF protection object.

TextFileEdit.php68 行目に定義があります。

◆ submit()

XH\TextFileEdit::submit ( )

Handles the form submission.

If file could be successfully saved, triggers a redirect. Otherwise writes error message to $e, and returns the edit form.

戻り値
mixed

object The CSRF protection object.

TextFileEdit.php107 行目に定義があります。


このクラス詳解は次のファイルから抽出されました: