Prado\Web\UI\ActiveControls\TDraggable::getPostBackOptions PHP Метод

getPostBackOptions() защищенный Метод

Gets the post back options for this textbox.
protected getPostBackOptions ( ) : array
Результат array
    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;
    }