|
| __construct ($query, $columns, $href, $pageLength=15, $index=0, $name='', $useSelecteds=true, $useNavigator=true, $showExport=true, $gridMostraTotalNumeric=false, $fixedTableHeader=true) |
|
| SetColumns ($columns) |
|
| ApplyFilter () |
|
| GenerateData () |
|
| CallRowMethod () |
|
| setShowHeaders ( $show=true) |
|
| showHeaders () |
|
| setCurrentPage ($pageNumber) |
|
| getURL ($filter=false, $order=false, $item='') |
|
| getOrderMode () |
|
| setTitle ($title) |
|
| setPageLength ($pageLength) |
|
| getPageLength () |
|
| setFooter ($footer) |
|
| setColumns ($columns) |
|
| setLinkType ($linktype) |
|
| setControls ($controls) |
|
| setButtons ($aButtons) |
|
| setWidth ($width) |
|
| setIndex ($index) |
|
| setRowMethod ($class, $method) |
|
| setIsScrollable ($scrollable=true, $width='99%', $height='99%') |
|
| setScrollWidth ($width='99%') |
|
| setScrollHeight ($height='99%') |
|
| headerLink ($id, $label, $href) |
|
| setColumnAttr ($col, $attr, $value) |
|
| setData ($data, $rowCount=null) |
|
| getData () |
|
| getDataValue ($row, $col) |
|
| getPage () |
|
| getPageNumber () |
|
| getPrevPage () |
|
| addActionSelect () |
|
| addActionIcon ($alt, $icon, $href, $index=null) |
|
| addActionText ($alt, $text, $href, $index=0) |
|
| addActionUpdate ($href) |
|
| addActionDelete ($href, $alt='Delete') |
|
| addFilterSelection ($index, $label, $options, $value='') |
|
| addFilterText ($index, $label, $value='') |
|
| addFilterControl ($index, $control, $type='text') |
|
| getFilterValue ($index) |
|
| getFilterControl ($index) |
|
| setFiltered ($value=false) |
|
| getFiltered () |
|
| getFilter () |
|
| setFilter ($status) |
|
| applyFilter () |
|
| applyOrder ($column) |
|
| addError ($err) |
|
| showID ($state) |
|
| setClose ($action) |
|
| setSelecteds ($s) |
|
| setUseSelecteds ($opt) |
|
| handlerSelecteds () |
|
| generateTitle () |
|
| generateNavigationHeader () |
|
| generateNavigationFooter () |
|
| generateLinks () |
|
| generateControls () |
|
| generateFilter () |
|
| hasErrors () |
|
| generateErrors () |
|
| generateHeader () |
|
| generateColumnsHeading ($tbl) |
|
| correctActionColSpan ($tbl) |
|
| generateActions (&$tbl) |
|
| gerarActions () |
|
| generateColumnsControls () |
|
| generateAlignColumn (&$column, $value) |
|
| generateColumns ($tbl, $row=null, $i=null) |
|
| generateEmptyMsg () |
|
| generateData () |
|
| callRowMethod () |
|
| generateBody ($data=null) |
|
| generateFooter () |
|
| getImage ($src) |
|
| generate () |
|
| hasOffset () |
|
| getOffset () |
|
| setOffset ($offset) |
|
| ajustarFormatacaoGrid () |
|
| getQuery () |
|
| setQuery ($sql=NULL, $dbconf=NULL, $rowCount=NULL, $returnAllData=false, $asAssociative=false, $consultaExportacao=false) |
|
| hideColumn ($column) |
|
| getIdResult () |
|
| setIdResult ($idResult) |
|
| isGridMostraTotalNumeric () |
|
| setGridMostraTotalNumeric ($gridMostraTotalNumeric) |
|
| column () |
|
| __construct ( $name=NULL) |
|
| __clone () |
|
| __set ( $name, $value) |
|
| __get ( $name) |
|
| setReadOnly ($status) |
|
| setEnabled ($state) |
|
| setName ($name) |
|
| setId ($id) |
|
| setNameAndId ($name) |
|
| getId () |
|
| getName () |
|
| getUniqueId () |
|
| setClass ( $cssClass, $add=true) |
|
| addStyleFile ( $styleFile) |
|
| getClass () |
|
| addStyle ($name, $value) |
|
| setStyle ($style) |
|
| getStyle () |
|
| addAttribute ( $name, $value='') |
|
| setTooltip ($title, $placement=self::TOOLTIP_PLACEMENT_AUTO) |
|
| setAttribute ( $name, $value) |
|
| setAttributes ($attr) |
|
| attributes ( $mergeDuplicates=false) |
|
| getAttributes ( $mergeDuplicates=false) |
|
| setFormMode ( $mode) |
|
| setJsHint ( $hint) |
|
| setPosition ($left, $top, $position='absolute') |
|
| setHeight ($value) |
|
| setColor ($value) |
|
| setVisibility ($value) |
|
| setFont ($value) |
|
| setCaption ($caption) |
|
| setInner ($inner) |
|
| getInner () |
|
| addControl ($control) |
|
| insertControl ($control, $pos=0, $width=null, $float=null) |
|
| setControl ($control, $pos=0) |
|
| getControls () |
|
| getControl ($pos) |
|
| getControlById ($id) |
|
| findControlById ($id) |
|
| setControlById ($control, $id) |
|
| clearControls () |
|
| eventHandler () |
|
| attachEventHandler ( $name, $handler, $param=NULL) |
|
| getBox () |
|
| setBoxId ( $id) |
|
| setBoxClass ( $cssClass, $add=true) |
|
| getBoxClass () |
|
| setBoxAttributes ($attr) |
|
| getBoxAttributes () |
|
| addBoxStyle ($name, $value='') |
|
| generateBox ( $content) |
|
| getRender ( $method) |
|
| getInnerToString () |
|
| generateInner () |
|
| SetName ($name) |
|
| GetName () |
|
| AddComponent ($component) |
|
| InsertComponent ($component, $pos=0) |
|
| SetComponent ($component, $pos) |
|
| SetComponents ($components) |
|
| GetComponents () |
|
| GetComponent ($pos) |
|
| ClearComponents () |
|
static | obterConsultaComSomatorios ($query) |
|
static | obterConsultaComNomesDasColunas ($query) |
|
static | normalizaConsulta ($sql, $dbconf, $gridMostraTotalNumeric=false, $columnsGrid=array()) |
|
| $query |
|
| $database |
|
| $sql |
|
| $sqlcmd |
|
| $db |
|
| $title |
|
| $filters |
|
| $filtered |
|
| $filter |
|
| $orderby |
|
| $ordered |
|
| $data |
|
| $actions |
|
| $select |
|
| $showid |
|
| $columns |
|
| $icons |
|
| $errors |
|
| $pageLength |
|
| $rowCount |
|
| $href |
|
| $pn |
|
| $headerLinks |
|
| $linktype |
|
| $width |
|
| $rowmethod |
|
| $index |
|
| $controls |
|
| $emptyMsg |
|
| $currentRow =0 |
|
| $box |
|
| $selecteds |
|
| $selectsreadonly |
|
| $allSelecteds |
|
| $pageNumber |
|
| $prevPage |
|
| $name |
|
| $css |
|
| $footer |
|
| $header |
|
| $showExport |
|
| $showExportAsCSV |
|
| $showExportAsHTML |
|
| $showExportAsPDF |
|
| $colSortingCleanURL = false |
|
| $actionColumnName |
|
| $query |
|
const | FORM_MODE_WHOLE_ROW = 0 |
|
const | FORM_MODE_SHOW_SIDE = 1 |
|
const | FORM_MODE_SHOW_ABOVE = 2 |
|
const | FORM_MODE_SHOW_NBSP = 3 |
|
const | CLASS_CAPTION = 'm-caption' |
|
const | CLASS_CAPTION_REQUIRED = 'm-caption-required' |
|
const | TOOLTIP_PLACEMENT_BOTTOM = 'bottom' |
|
const | TOOLTIP_PLACEMENT_TOP = 'top' |
|
const | TOOLTIP_PLACEMENT_LEFT = 'left' |
|
const | TOOLTIP_PLACEMENT_RIGHT = 'right' |
|
const | TOOLTIP_PLACEMENT_AUTO = 'auto' |
|
| $id |
|
| $uniqueId |
|
| $cssClass |
|
| $enabled |
|
| $style |
|
| $visible |
|
| $attrs |
|
| $attributes |
|
| $formMode |
|
| $maintainState |
|
| $readonly |
|
| $caption |
|
| $jsHint |
|
| $inner |
|
| $controlBox |
|
| $box |
|
| $cssp |
|
| $parent |
|
| $controls |
|
| $controlsId |
|
| $eventHandlers |
|
| $painter |
|
| $manager |
|
| $page |
|
| $owner |
|
| $components |
|
| $componentCount |
|
| $name |
|
| $className |
|
static | $_number = 0 |
|
| _AddStyle ($name, $value) |
|
| $isShowHeaders = true |
|
| $scrollable = false |
|
| $scrollWidth = '99%' |
|
| $scrollHeight = '99%' |
|
| $orderByDatabase = false |
|
| $gerarQuebraDeLinhaActions = false |
|
Definido na linha 184 do ficheiro mdatagrid.class.