CMSimple_XH 開発者ドキュメント
CoreTextFileEdit.php
1 <?php
2 
16 namespace XH;
17 
29 {
37  public function __construct()
38  {
39  global $pth, $file, $tx;
40 
41  $this->filename = $pth['file'][$file];
42  $this->caption = utf8_ucfirst($tx['filetype'][$file]);
43  $this->params = array('file' => $file, 'action' => 'save');
44  $this->redir = "?file=$file&action=edit&xh_success=$file";
45  $this->textareaName = 'text';
46  parent::__construct();
47  }
48 }
utf8_ucfirst($string)
Definition: utf8.php:118
$file
Definition: cms.php:640
$tx
Definition: cms.php:363
$pth
Definition: cms.php:230