CMSimple_XH 開発者ドキュメント
FileEdit.php
1 <?php
2 
16 namespace XH;
17 
28 abstract class FileEdit
29 {
35  protected $params = array();
36 
42  protected $plugin = null;
43 
49  protected $caption = null;
50 
56  protected $filename = null;
57 
63  protected $redir = null;
64 
70  protected function save()
71  {
72  return XH_writeFile($this->filename, $this->asString());
73  }
74 
80  abstract public function form();
81 
90  abstract public function submit();
91 
97  abstract protected function asString();
98 }
$plugin
Definition: cms.php:856
XH_writeFile($filename, $contents)
Definition: functions.php:1626