Class Inlineedit Widget
Class constructor
new Inlineedit([
String id,
String class,
Boolean editMode,
String action,
Boolean useParentEditClass,
Array child,
Array of Array children,
]);
Property :
Child and children element
All input type property
[
'editMode' : Boolean default false
'type' : 'label,text,textarea,datepicker,radio,checkbox,select,textfield,method,comment' Default is text
'inputName' : String
'label' : String
'value': Mixed
'ret': String
'convert': String
'variable1' : Mixed
'variable2' : Mixed
'options' : Array
key:
debug : Boolean default false
placeholder: String
done : String
]
Additionall for type radio,checkbox,select:
[
'choices' => ['value' => Text, ...],
]
editMode ↔ Boolean
action ↔ String
type ↔ method
new InlineEdit([
'child' => [
'type' => 'method',
'label' => 'Label Name',
'method' => $this->methodName(),
]
])
action ↔ String
Method :
Inlineedit::build() → String