Show
Ignore:
Timestamp:
02/23/12 09:43:30 (15 months ago)
Author:
vakopian
Message:

fixes #792

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • framework/branches/2.0/includes/qcubed/_core/base_controls/QSortableGen.class.php

    r1382 r1412  
    294294                 */ 
    295295                protected function CallJqUiMethod($strMethodName /*, ... */) { 
    296                         $args = array(); 
    297296                        $args = func_get_args(); 
    298297 
     
    462461                                                $this->blnDisabled = QType::Cast($mixValue, QType::Boolean); 
    463462                                                if ($this->Rendered) { 
    464                                                         $this->CallJqUiMethod("option", $strName, $mixValue); 
     463                                                        $this->CallJqUiMethod('option', 'disabled', $mixValue); 
    465464                                                } 
    466465                                                break; 
     
    474473                                                $this->strAppendTo = QType::Cast($mixValue, QType::String); 
    475474                                                if ($this->Rendered) { 
    476                                                         $this->CallJqUiMethod("option", $strName, $mixValue); 
     475                                                        $this->CallJqUiMethod('option', 'appendTo', $mixValue); 
    477476                                                } 
    478477                                                break; 
     
    486485                                                $this->strAxis = QType::Cast($mixValue, QType::String); 
    487486                                                if ($this->Rendered) { 
    488                                                         $this->CallJqUiMethod("option", $strName, $mixValue); 
     487                                                        $this->CallJqUiMethod('option', 'axis', $mixValue); 
    489488                                                } 
    490489                                                break; 
     
    498497                                 
    499498                                        if ($this->Rendered) { 
    500                                                 $this->CallJqUiMethod("option", $strName, $mixValue); 
     499                                                $this->CallJqUiMethod('option', 'cancel', $mixValue); 
    501500                                        } 
    502501                                        break; 
     
    506505                                 
    507506                                        if ($this->Rendered) { 
    508                                                 $this->CallJqUiMethod("option", $strName, $mixValue); 
     507                                                $this->CallJqUiMethod('option', 'connectWith', $mixValue); 
    509508                                        } 
    510509                                        break; 
     
    514513                                 
    515514                                        if ($this->Rendered) { 
    516                                                 $this->CallJqUiMethod("option", $strName, $mixValue); 
     515                                                $this->CallJqUiMethod('option', 'containment', $mixValue); 
    517516                                        } 
    518517                                        break; 
     
    522521                                                $this->strCursor = QType::Cast($mixValue, QType::String); 
    523522                                                if ($this->Rendered) { 
    524                                                         $this->CallJqUiMethod("option", $strName, $mixValue); 
     523                                                        $this->CallJqUiMethod('option', 'cursor', $mixValue); 
    525524                                                } 
    526525                                                break; 
     
    534533                                 
    535534                                        if ($this->Rendered) { 
    536                                                 $this->CallJqUiMethod("option", $strName, $mixValue); 
     535                                                $this->CallJqUiMethod('option', 'cursorAt', $mixValue); 
    537536                                        } 
    538537                                        break; 
     
    542541                                                $this->intDelay = QType::Cast($mixValue, QType::Integer); 
    543542                                                if ($this->Rendered) { 
    544                                                         $this->CallJqUiMethod("option", $strName, $mixValue); 
     543                                                        $this->CallJqUiMethod('option', 'delay', $mixValue); 
    545544                                                } 
    546545                                                break; 
     
    554553                                                $this->intDistance = QType::Cast($mixValue, QType::Integer); 
    555554                                                if ($this->Rendered) { 
    556                                                         $this->CallJqUiMethod("option", $strName, $mixValue); 
     555                                                        $this->CallJqUiMethod('option', 'distance', $mixValue); 
    557556                                                } 
    558557                                                break; 
     
    566565                                                $this->blnDropOnEmpty = QType::Cast($mixValue, QType::Boolean); 
    567566                                                if ($this->Rendered) { 
    568                                                         $this->CallJqUiMethod("option", $strName, $mixValue); 
     567                                                        $this->CallJqUiMethod('option', 'dropOnEmpty', $mixValue); 
    569568                                                } 
    570569                                                break; 
     
    578577                                                $this->blnForceHelperSize = QType::Cast($mixValue, QType::Boolean); 
    579578                                                if ($this->Rendered) { 
    580                                                         $this->CallJqUiMethod("option", $strName, $mixValue); 
     579                                                        $this->CallJqUiMethod('option', 'forceHelperSize', $mixValue); 
    581580                                                } 
    582581                                                break; 
     
    590589                                                $this->blnForcePlaceholderSize = QType::Cast($mixValue, QType::Boolean); 
    591590                                                if ($this->Rendered) { 
    592                                                         $this->CallJqUiMethod("option", $strName, $mixValue); 
     591                                                        $this->CallJqUiMethod('option', 'forcePlaceholderSize', $mixValue); 
    593592                                                } 
    594593                                                break; 
     
    602601                                                $this->arrGrid = QType::Cast($mixValue, QType::ArrayType); 
    603602                                                if ($this->Rendered) { 
    604                                                         $this->CallJqUiMethod("option", $strName, $mixValue); 
     603                                                        $this->CallJqUiMethod('option', 'grid', $mixValue); 
    605604                                                } 
    606605                                                break; 
     
    614613                                 
    615614                                        if ($this->Rendered) { 
    616                                                 $this->CallJqUiMethod("option", $strName, $mixValue); 
     615                                                $this->CallJqUiMethod('option', 'handle', $mixValue); 
    617616                                        } 
    618617                                        break; 
     
    622621                                 
    623622                                        if ($this->Rendered) { 
    624                                                 $this->CallJqUiMethod("option", $strName, $mixValue); 
     623                                                $this->CallJqUiMethod('option', 'helper', $mixValue); 
    625624                                        } 
    626625                                        break; 
     
    630629                                 
    631630                                        if ($this->Rendered) { 
    632                                                 $this->CallJqUiMethod("option", $strName, $mixValue); 
     631                                                $this->CallJqUiMethod('option', 'items', $mixValue); 
    633632                                        } 
    634633                                        break; 
     
    638637                                                $this->fltOpacity = QType::Cast($mixValue, QType::Float); 
    639638                                                if ($this->Rendered) { 
    640                                                         $this->CallJqUiMethod("option", $strName, $mixValue); 
     639                                                        $this->CallJqUiMethod('option', 'opacity', $mixValue); 
    641640                                                } 
    642641                                                break; 
     
    650649                                                $this->strPlaceholder = QType::Cast($mixValue, QType::String); 
    651650                                                if ($this->Rendered) { 
    652                                                         $this->CallJqUiMethod("option", $strName, $mixValue); 
     651                                                        $this->CallJqUiMethod('option', 'placeholder', $mixValue); 
    653652                                                } 
    654653                                                break; 
     
    662661                                                $this->mixRevert = QType::Cast($mixValue, 'QJsClosure'); 
    663662                                                if ($this->Rendered) { 
    664                                                         $this->CallJqUiMethod("option", $strName, $mixValue); 
     663                                                        $this->CallJqUiMethod('option', 'revert', $mixValue); 
    665664                                                } 
    666665                                                break; 
     
    674673                                                $this->blnScroll = QType::Cast($mixValue, QType::Boolean); 
    675674                                                if ($this->Rendered) { 
    676                                                         $this->CallJqUiMethod("option", $strName, $mixValue); 
     675                                                        $this->CallJqUiMethod('option', 'scroll', $mixValue); 
    677676                                                } 
    678677                                                break; 
     
    686685                                                $this->intScrollSensitivity = QType::Cast($mixValue, QType::Integer); 
    687686                                                if ($this->Rendered) { 
    688                                                         $this->CallJqUiMethod("option", $strName, $mixValue); 
     687                                                        $this->CallJqUiMethod('option', 'scrollSensitivity', $mixValue); 
    689688                                                } 
    690689                                                break; 
     
    698697                                                $this->intScrollSpeed = QType::Cast($mixValue, QType::Integer); 
    699698                                                if ($this->Rendered) { 
    700                                                         $this->CallJqUiMethod("option", $strName, $mixValue); 
     699                                                        $this->CallJqUiMethod('option', 'scrollSpeed', $mixValue); 
    701700                                                } 
    702701                                                break; 
     
    710709                                                $this->strTolerance = QType::Cast($mixValue, QType::String); 
    711710                                                if ($this->Rendered) { 
    712                                                         $this->CallJqUiMethod("option", $strName, $mixValue); 
     711                                                        $this->CallJqUiMethod('option', 'tolerance', $mixValue); 
    713712                                                } 
    714713                                                break; 
     
    722721                                                $this->intZIndex = QType::Cast($mixValue, QType::Integer); 
    723722                                                if ($this->Rendered) { 
    724                                                         $this->CallJqUiMethod("option", $strName, $mixValue); 
     723                                                        $this->CallJqUiMethod('option', 'zIndex', $mixValue); 
    725724                                                } 
    726725                                                break;