dbmsv2 init...1
This commit is contained in:
parent
601f874179
commit
eb25c8291a
@ -89,6 +89,10 @@ abstract class CommonController extends BaseController
|
||||
}
|
||||
return $action;
|
||||
}
|
||||
final protected function setDefaultValue(string $field, mixed $value)
|
||||
{
|
||||
$this->_control['default_values'][$field] = $value;
|
||||
}
|
||||
final protected function initAction(string $action, ?array $actionFields = null): void
|
||||
{
|
||||
$this->setAction($action);
|
||||
@ -126,7 +130,7 @@ abstract class CommonController extends BaseController
|
||||
//Paramter로 전달된 Filter Options용 기본값 정의용
|
||||
$this->_control['default_values'] = [];
|
||||
foreach ($this->getControlDatas('actionFilters') as $field) {
|
||||
$this->_control['default_values'][$field] = $this->request->getVar($field);
|
||||
$this->setDefaultValue($field, $this->request->getVar($field));
|
||||
}
|
||||
// echo var_dump($actionFields);
|
||||
// echo var_dump($fields);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user