Source of file GridSelectionField.php
Size: 0,742 Bytes - Last Modified: 2021-12-24T06:34:36+00:00
/var/www/docs.ssmods.com/process/src/code/GridSelectionField.php
1234567891011121314151617181920212223242526272829303132 | <?php /** * Field for picking which grid section to edit. * * Displays a grid, with selectable sections. */ class GridSelectionField extends FormField { protected $template = "GridSelectionField"; public function FieldHolder($properties = array()) { Requirements::css(GSC_DIR."/css/gridselectionfield.css"); return parent::FieldHolder($properties); } public function RenderGrid() { $renderer = new GSCRenderer($this->value, "", "GridSelectionFieldRow"); return $renderer->render(); } public function performReadonlyTransformation() { $copy = $this->castedCopy('HiddenField'); $copy->setReadonly(true); return $copy; } } |