API Documentação da API
Inscrições abertas para nosso Webinar anual Adianti Framework 2024!
Clique aqui para saber mais
Pacote Dominando o Adianti 7
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

TStandardForm extends TPage
in package
Uses AdiantiStandardFormTrait

Standard page controller for forms

Tags
version
7.6
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

$afterSaveAction  : mixed
$afterSaveCallback  : mixed
$form  : mixed
$useMessages  : mixed
$body  : mixed
$constructed  : mixed
$loadedcss  : mixed
$loadedjs  : mixed
$registeredcss  : mixed

Methods

__construct()  : mixed
Class Constructor
__set()  : mixed
Intercepts whenever someones assign a new property's value
getClassName()  : mixed
Return the Page name
getLoadedCSS()  : mixed
Return the loaded Cascade Stylesheet files
getLoadedJS()  : mixed
Return the loaded JavaScript files
getTargetContainer()  : mixed
Return target container
include_css()  : mixed
Include a specific Cascading Stylesheet to this page
include_js()  : mixed
Include a specific JavaScript function to this page
isMobile()  : mixed
Discover if the browser is mobile device
onClear()  : mixed
Clear form
onEdit()  : mixed
method onEdit() Executed whenever the user clicks at the edit button da datagrid
onSave()  : mixed
method onSave() Executed whenever the user clicks at the save button
openFile()  : mixed
Open a File Dialog
openPage()  : mixed
Open a page in new tab
register_css()  : mixed
Register a specific Cascading Stylesheet to this page
run()  : mixed
Interprets an action based at the URL parameters
setAfterSaveAction()  : mixed
method setAfterSaveAction() Define after save action
setAfterSaveCallback()  : mixed
method setAfterSaveCallback() Define after save callback
setPageName()  : mixed
Set page name
setPageTitle()  : mixed
Change page title
setTargetContainer()  : mixed
Set target container for page content
setUseMessages()  : mixed
Define if will use messages after operations
show()  : mixed
Decide wich action to take and show the page

Properties

$constructed

private mixed $constructed

$loadedcss

private static mixed $loadedcss

$loadedjs

private static mixed $loadedjs

$registeredcss

private static mixed $registeredcss

Methods

__construct()

Class Constructor

public __construct() : mixed

__set()

Intercepts whenever someones assign a new property's value

public __set( $name,  $value) : mixed
Parameters
$name :

Property Name

$value :

Property Value

getClassName()

Return the Page name

public getClassName() : mixed

getLoadedCSS()

Return the loaded Cascade Stylesheet files

public static getLoadedCSS() : mixed
Tags
ignore-autocomplete

on

getLoadedJS()

Return the loaded JavaScript files

public static getLoadedJS() : mixed
Tags
ignore-autocomplete

on

getTargetContainer()

Return target container

public getTargetContainer() : mixed

include_css()

Include a specific Cascading Stylesheet to this page

public static include_css( $css) : mixed
Parameters
$css :

Cascading Stylesheet

include_js()

Include a specific JavaScript function to this page

public static include_js( $js) : mixed
Parameters
$js :

JavaScript location

isMobile()

Discover if the browser is mobile device

public static isMobile() : mixed

onEdit()

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

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

An array containing the GET ($_GET) parameters

openFile()

Open a File Dialog

public static openFile( $file[, mixed $basename = null ]) : mixed
Parameters
$file :

File Name

$basename : mixed = null

openPage()

Open a page in new tab

public static openPage(mixed $page) : mixed
Parameters
$page : mixed

register_css()

Register a specific Cascading Stylesheet to this page

public static register_css( $cssname,  $csscode) : mixed
Parameters
$cssname :

Cascading Stylesheet Name

$csscode :

Cascading Stylesheet Code

run()

Interprets an action based at the URL parameters

public run() : mixed

setAfterSaveAction()

method setAfterSaveAction() Define after save action

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

setAfterSaveCallback()

method setAfterSaveCallback() Define after save callback

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

setPageName()

Set page name

public setPageName(mixed $name) : mixed
Parameters
$name : mixed

setPageTitle()

Change page title

public static setPageTitle(mixed $title) : mixed
Parameters
$title : mixed

setTargetContainer()

Set target container for page content

public setTargetContainer(mixed $container) : mixed
Parameters
$container : mixed

setUseMessages()

Define if will use messages after operations

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

show()

Decide wich action to take and show the page

public show() : mixed

        
On this page

Search results