CMSimple_XH 開発者ドキュメント
XH\FileEdit クラス
XH\FileEdit の継承関係図
XH\ArrayFileEdit XH\TextFileEdit XH\CoreArrayFileEdit XH\PluginArrayFileEdit XH\CoreTextFileEdit XH\PluginTextFileEdit XH\CoreConfigFileEdit XH\CoreLangFileEdit XH\PluginConfigFileEdit XH\PluginLanguageFileEdit

公開メンバ関数

 form ()
 
 submit ()
 

限定公開メンバ関数

 save ()
 
 asString ()
 

限定公開変数類

 $params = array()
 
 $plugin = null
 
 $caption = null
 
 $filename = null
 
 $redir = null
 

詳解

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

関数詳解

◆ asString()

XH\FileEdit::asString ( )
abstractprotected

Returns the the file contents as string for saving.

戻り値
string

◆ form()

XH\FileEdit::form ( )
abstract

Returns the form to edit the file contents.

戻り値
string HTML

◆ save()

XH\FileEdit::save ( )
protected

Saves the file. Returns whether that succeeded.

戻り値
bool

FileEdit.php70 行目に定義があります。

◆ submit()

XH\FileEdit::submit ( )
abstract

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 The HTML resp. void.

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