1234567891011121314151617181920212223242526 |
- <?php
- namespace form\hr;
- class Builder
- {
- /**
- * 分割
- * @param string $name 表单项名
- * @param string $title 标题
- * @return mixed
- */
- public function item($name = '', $title = '')
- {
- return [
- 'name' => $name,
- 'title' => $title,
- ];
- }
- /**
- * @var array 需要加载的css
- */
- public $css = [
- 'hr.css'
- ];
- }
|