CMSimple_XH 開発者ドキュメント
XH\Mailform クラス

公開メンバ関数

 __construct ($embedded=false, $subject=null, $mail=null)
 
 check ()
 
 submit ()
 
 process ()
 
 render ()
 

フィールド

 $subject
 

詳解

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

構築子と解体子

◆ __construct()

XH\Mailform::__construct (   $embedded = false,
  $subject = null,
  $mail = null 
)

Constructs an instance.

引数
bool$embeddedWhether the mailform is embedded on a CMSimple_XH page.
string$subjectAn alternative subject field preset text instead of the subject default in localization.
Mail$mailA mail object.

array The localization of the core.

Mailform.php104 行目に定義があります。

関数詳解

◆ check()

XH\Mailform::check ( )

Returns error messages resp. an empty string if everything is okay.

戻り値
string HTML

array The configuration of the core. array The localization of the core.

Mailform.php148 行目に定義があります。

◆ process()

XH\Mailform::process ( )

Processes the mailform request and returns the resulting view.

戻り値
string HTML

string The requested action. array The localization of the core.

bool Whether any mailform is processed more than once.

todo:
Remove static variable for better testability.

Mailform.php207 行目に定義があります。

◆ render()

XH\Mailform::render ( )

Returns the mailform view.

戻り値
string HTML

string The script name. array The configuration of the core. array The localization of the core. string The current page URL.

Mailform.php242 行目に定義があります。

◆ submit()

XH\Mailform::submit ( )

Submits the mailform and returns whether that succeeded.

戻り値
bool

array The configuration of the core. array The localization of the core.

Mailform.php175 行目に定義があります。


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