| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?php
- /**
- * PHP表单生成器
- *
- * @package FormBuilder
- * @author xaboy <xaboy2005@qq.com>
- * @version 2.0
- * @license MIT
- * @link https://github.com/xaboy/form-builder
- * @document http://php.form-create.com
- */
- namespace FormBuilder\Contract;
- interface ConfigInterface
- {
- public function info($type);
- public function formStyle($formStyle);
- public function row($row);
- public function submitBtn($submitBtn);
- public function resetBtn($resetBtn);
- public function injectEvent($bool);
- /**
- * @param string $componentName
- * @param array $config
- * @return $this
- */
- public function componentGlobalConfig($componentName, array $config);
- /**
- * @param array $config
- * @return $this
- */
- public function componentGlobalCommonConfig(array $config);
- public function getConfig();
- }
|