API Documentação da API
Pacote Dominando o Adianti Framework
Curso + Livro + Apps exemplo
Curso completo em Video Aulas (114 aulas).
Livro completo em PDF (463 páginas).
Códigos-fontes de Apps de Exemplo.
API
API do Framework
Documentation

Documentation

AdiantiStandardFormListTrait uses trait:short

Standard Form List Trait

Tags
version
8.2
author

Pablo Dall'Oglio

copyright

Copyright (c) 2006 Adianti Solutions Ltd. (http://www.adianti.com.br)

license

https://adiantiframework.com.br/license

Table of Contents

Properties

$activeRecord  : mixed
$afterSaveAction  : mixed
$database  : mixed
$useMessages  : mixed

Methods

Delete()  : mixed
method Delete() Delete a record
onClear()  : mixed
Clear form
onDelete()  : mixed
method onDelete() executed whenever the user clicks at the delete button Ask if the user really wants to delete the record
onEdit()  : mixed
method onEdit() Executed whenever the user clicks at the edit button da datagrid
onReload()  : mixed
method onReload() Load the datagrid with the database objects
onSave()  : mixed
method onSave() Executed whenever the user clicks at the save button
setAfterSaveAction()  : mixed
method setAfterSaveAction() Define after save action
setCriteria()  : mixed
method setCriteria() Define the criteria
setDefaultOrder()  : mixed
Define the default order
setLimit()  : mixed
method setLimit() Define the record limit
setTransformer()  : mixed
Define a callback method to transform objects before load them into datagrid
setUseMessages()  : mixed
Define if will use messages after operations
show()  : mixed
Shows the page
setActiveRecord()  : mixed
method setActiveRecord() Define wich Active Record class will be used
setDatabase()  : mixed
method setDatabase() Define the database

Properties

Methods

onDelete()

method onDelete() executed whenever the user clicks at the delete button Ask if the user really wants to delete the record

public onDelete(mixed $param) : mixed
Parameters
$param : mixed

onEdit()

method onEdit() Executed whenever the user clicks at the edit button da datagrid

public onEdit(mixed $param) : mixed
Parameters
$param : mixed

onReload()

method onReload() Load the datagrid with the database objects

public onReload([mixed $param = NULL ]) : mixed
Parameters
$param : mixed = NULL

setAfterSaveAction()

method setAfterSaveAction() Define after save action

public setAfterSaveAction(mixed $action) : mixed
Parameters
$action : mixed

setCriteria()

method setCriteria() Define the criteria

public setCriteria(mixed $criteria) : mixed
Parameters
$criteria : mixed

setDefaultOrder()

Define the default order

public setDefaultOrder(mixed $order[, mixed $direction = 'asc' ]) : mixed
Parameters
$order : mixed

The order field

$direction : mixed = 'asc'

setTransformer()

Define a callback method to transform objects before load them into datagrid

public setTransformer(mixed $callback) : mixed
Parameters
$callback : mixed

setUseMessages()

Define if will use messages after operations

public setUseMessages(mixed $bool) : mixed
Parameters
$bool : mixed

setActiveRecord()

method setActiveRecord() Define wich Active Record class will be used

protected setActiveRecord(mixed $activeRecord) : mixed
Parameters
$activeRecord : mixed

setDatabase()

method setDatabase() Define the database

protected setDatabase(mixed $database) : mixed
Parameters
$database : mixed

        
On this page

Search results