protected function getPostBackOptions() { $options['ID'] = $this->getClientID(); if (($handle = $this->getHandle()) !== null) { $options['handle'] = $handle; } if (($revert = $this->getRevert()) === TDraggableRevertOptions::None) { $options['revert'] = false; } elseif ($revert == TDraggableRevertOptions::Revert) { $options['revert'] = true; } else { $options['revert'] = strtolower($revert); } if (($constraint = $this->getConstraint()) !== TDraggableConstraint::None) { $options['constraint'] = strtolower($constraint); } switch ($this->getGhosting()) { case TDraggableGhostingOptions::SuperGhosting: $options['superghosting'] = true; break; case TDraggableGhostingOptions::Ghosting: $options['ghosting'] = true; break; } return $options; }