/** * @return mixed */ public function createCustomControlTile() { $customControlTile = new DataGridCustomControlTile(); $selectionButton = $customControlTile->add(new SelectionButtonTile($this->getGridIdentifier() . '_selection', 'button.with.selection')); $selectionButton->add(new TextLinkSelectionTile('show', $this->generateUrl('tixiapi_dispo_monthlyplan_workingdays_get', array('workingMonthId' => DataGridHandler::$dataGridReplaceIdentifier)), 'button.show', true)); $selectionButton->add(new SelectionButtonDividerTile()); return $customControlTile; }
/** * @return mixed */ public function createCustomControlTile() { $customControlTile = new DataGridCustomControlTile(); $selectionButton = $customControlTile->add(new SelectionButtonTile($this->getGridIdentifier() . '_selection', 'button.with.selection')); $selectionButton->add(new TextLinkSelectionTile('edit', $this->generateUrl('tixiapi_dispo_productionplan_edit', array('workingMonthId' => DataGridHandler::$dataGridReplaceIdentifier)), 'button.edit', true)); $selectionButton->add(new SelectionButtonDividerTile()); $customControlTile->add(new LinkButtonTile($this->getGridIdentifier() . '_new', $this->generateUrl('tixiapi_dispo_productionplan_new'), 'productionplan.button.new', LinkButtonTile::$primaryType)); return $customControlTile; }
/** * @return mixed|DataGridCustomControlTile */ public function createCustomControlTile() { $customControlTile = new DataGridCustomControlTile(); $selectionButton = $customControlTile->add(new SelectionButtonTile($this->getGridIdentifier() . '_selection', 'button.with.selection')); $selectionButton->add(new TextLinkSelectionTile('edit', $this->generateUrl('tixiapi_management_vehicledepot_edit', array('vehicleDepotId' => DataGridHandler::$dataGridReplaceIdentifier)), 'button.edit', true)); $selectionButton->add(new SelectionButtonDividerTile()); $selectionButton->add(new TextLinkSelectionDeleteTile('delete', $this->generateUrl('tixiapi_management_vehicledepot_delete', array('vehicleDepotId' => DataGridHandler::$dataGridReplaceIdentifier)), 'button.delete', true)); $customControlTile->add(new LinkButtonTile($this->getGridIdentifier() . '_new', $this->generateUrl('tixiapi_management_vehicledepot_new'), 'vehicledepot.button.new', LinkButtonTile::$primaryType)); return $customControlTile; }
/** * @return mixed|DataGridCustomControlTile */ public function createCustomControlTile() { $customControlTile = new DataGridCustomControlTile(); $selectionButton = $customControlTile->add(new SelectionButtonTile($this->getGridIdentifier() . '_selection', 'button.with.selection')); $selectionButton->add(new TextLinkSelectionTile('edit', $this->generateUrl('tixiapi_driver_drivingassertion_edit', array('driverId' => $this->routeProperties['driverId'], 'assertionId' => DataGridHandler::$dataGridReplaceIdentifier)), 'button.edit', true)); $selectionButton->add(new SelectionButtonDividerTile()); $selectionButton->add(new TextLinkSelectionDeleteTile('delete', $this->generateUrl('tixiapi_driver_drivingassertion_delete', array('driverId' => $this->routeProperties['driverId'], 'drivingAssertionId' => DataGridHandler::$dataGridReplaceIdentifier)), 'button.delete', true)); $customControlTile->add(new LinkButtonTile($this->getGridIdentifier() . '_new', $this->generateUrl('tixiapi_driver_drivingassertion_new', array('driverId' => $this->routeProperties['driverId'])), 'drivingassertion.button.new', LinkButtonTile::$primaryType)); return $customControlTile; }
/** * @return mixed|DataGridCustomControlTile */ public function createCustomControlTile() { $customControlTile = new DataGridCustomControlTile(); $selectionButton = $customControlTile->add(new SelectionButtonTile($this->getGridIdentifier() . '_selection', 'button.with.selection')); $selectionButton->add(new TextLinkSelectionTile('show', $this->generateUrl('tixiapi_driver_get', array('driverId' => DataGridHandler::$dataGridReplaceIdentifier)), 'button.show', true)); $selectionButton->add(new TextLinkSelectionTile('edit', $this->generateUrl('tixiapi_driver_edit', array('driverId' => DataGridHandler::$dataGridReplaceIdentifier)), 'button.edit', true)); /* Keyword = deactivateR044 $selectionButton->add( new TextLinkSelectionTile('new_absent', $this->generateUrl('tixiapi_driver_absent_new', array( 'driverId' => DataGridHandler::$dataGridReplaceIdentifier)), 'absent.button.selection.new', true)); */ $selectionButton->add(new TextLinkSelectionTile('new_repeatedassertion', $this->generateUrl('tixiapi_driver_repeatedassertionplan_new', array('driverId' => DataGridHandler::$dataGridReplaceIdentifier)), 'repeateddrivingassertion.button.selection.new', true)); $selectionButton->add(new TextLinkSelectionTile('new_assertion', $this->generateUrl('tixiapi_driver_repeatedassertionplan_new', array('driverId' => DataGridHandler::$dataGridReplaceIdentifier)) . '/unique', 'drivingassertion.button.selection.new', true)); $selectionButton->add(new SelectionButtonDividerTile()); $selectionButton->add(new TextLinkSelectionDeleteTile('delete', $this->generateUrl('tixiapi_driver_delete', array('driverId' => DataGridHandler::$dataGridReplaceIdentifier)), 'button.delete', true)); $customControlTile->add(new LinkButtonTile($this->getGridIdentifier() . '_new', $this->generateUrl('tixiapi_driver_new'), 'driver.button.new', LinkButtonTile::$primaryType)); return $customControlTile; }