/**
  * @param string $strName
  * @return bool|int|Keeps|mixed|null
  * @throws QCallerException
  */
 public function __get($strName)
 {
     switch ($strName) {
         // MISC
         case "OrderByClause":
             return $this->GetOrderByInfo();
         case "SortColumnId":
             return $this->strSortColumnId;
         case "SortDirection":
             return $this->intSortDirection;
         case "SortColumnIndex":
             return $this->GetSortColumnIndex();
         case "SortInfo":
             return ['id' => $this->strSortColumnId, 'dir' => $this->intSortDirection];
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
Exemplo n.º 2
0
 public function __get($strName)
 {
     switch ($strName) {
         case 'AutoWidth':
             return $this->blnAutoWidth;
         case 'DeferRender':
             return $this->blnDeferRender;
         case 'Info':
             return $this->blnInfo;
         case 'JQueryUI':
             return $this->blnJQueryUI;
         case 'LengthChange':
             return $this->blnLengthChange;
         case 'Ordering':
             return $this->blnOrdering;
         case 'Paging':
             return $this->blnPaging;
         case 'Processing':
             return $this->blnProcessing;
         case 'ScrollX':
             return $this->blnScrollX;
         case 'ScrollY':
             return $this->strScrollY;
         case 'Searching':
             return $this->blnSearching;
         case 'ServerSide':
             return $this->blnServerSide;
         case 'StateSave':
             return $this->blnStateSave;
         case 'Ajax':
             return $this->mixAjax;
         case 'Data':
             return $this->arrData;
         case 'CreatedRow':
             return $this->mixCreatedRow;
         case 'DrawCallback':
             return $this->mixDrawCallback;
         case 'FooterCallback':
             return $this->mixFooterCallback;
         case 'FormatNumber':
             return $this->mixFormatNumber;
         case 'HeaderCallback':
             return $this->mixHeaderCallback;
         case 'InfoCallback':
             return $this->mixInfoCallback;
         case 'InitComplete':
             return $this->mixInitComplete;
         case 'PreDrawCallback':
             return $this->mixPreDrawCallback;
         case 'RowCallback':
             return $this->mixRowCallback;
         case 'StateLoadCallback':
             return $this->mixStateLoadCallback;
         case 'StateLoaded':
             return $this->mixStateLoaded;
         case 'StateLoadParams':
             return $this->mixStateLoadParams;
         case 'StateSaveCallback':
             return $this->mixStateSaveCallback;
         case 'StateSaveParams':
             return $this->mixStateSaveParams;
         case 'DeferLoading':
             return $this->mixDeferLoading;
         case 'Destroy':
             return $this->blnDestroy;
         case 'DisplayStart':
             return $this->intDisplayStart;
         case 'Dom':
             return $this->strDom;
         case 'LengthMenu':
             return $this->arrLengthMenu;
         case 'Order':
             return $this->arrOrder;
         case 'OrderCellsTop':
             return $this->blnOrderCellsTop;
         case 'OrderClasses':
             return $this->blnOrderClasses;
         case 'OrderFixed':
             return $this->mixOrderFixed;
         case 'OrderMulti':
             return $this->blnOrderMulti;
         case 'PageLength':
             return $this->intPageLength;
         case 'PagingType':
             return $this->strPagingType;
         case 'Renderer':
             return $this->mixRenderer;
         case 'Retrieve':
             return $this->blnRetrieve;
         case 'ScrollCollapse':
             return $this->blnScrollCollapse;
         case 'Search':
             return $this->mixSearch;
         case 'SearchCols':
             return $this->arrSearchCols;
         case 'SearchDelay':
             return $this->intSearchDelay;
         case 'StateDuration':
             return $this->intStateDuration;
         case 'StripeClasses':
             return $this->arrStripeClasses;
         case 'TabIndex':
             return $this->intTabIndex;
         case 'ColumnDefs':
             return $this->arrColumnDefs;
         case 'Columns':
             return $this->arrColumns;
         case 'Language':
             return $this->mixLanguage;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }