This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# ADICIONE ESSE MÉTODO x NO FINAL DO ARQUIVO init.php | |
function x(...$param) | |
{ | |
ob_start(); | |
foreach($param as $value) echo '<pre>'.print_r($value, 1).'</pre>'; | |
$win = TWindow::create('DEBUG', 1000, 700); | |
$win->add(ob_get_clean()); | |
$win->show(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class PessoaList extends TPage | |
{ | |
private $datagrid; | |
//<classProperties> | |
# DECLARA A VARIÁVEL PARA RECEBER OS DADOS NO onReload | |
public $datarows; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
TScript::create("__adianti_load_page('NomeClasse');"); | |
TScript::create("__adianti_goto_page('NomeClasse');"); | |
#__adianti_load_page('index.php?class=NomeClasse'); | |
# HTML | |
<a href="index.php?class=NomeClasse"</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# NO CONSTRUCT DO FORMULÁRIO ADICIONE: | |
TScript::create("tchecklist_row_enable_check('{$this->datagrid->id}');"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exemplo de um conector para SQLite: | |
host = "" | |
port = "" | |
name = "app/database/samples.db" | |
user = "" | |
pass = "" | |
type = "sqlite" | |
prep = "1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CONFIFURAÇÕES: Trust security | |
DESMARQUE OS CHECKBOXs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function($value, $object, $row) | |
{ | |
if($value) | |
{ | |
$value = 'R$ ' . number_format($value, 2, '.', ''); | |
$link = new TActionLink($value, new TAction(['ExemploForm', 'onShow'])); | |
return $link; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$meses = ['JANEIRO', 'FEVEREIRO', 'MARÇO', 'ABRIL']; | |
$data = json_encode($meses, true); | |
$data = stripslashes($meses); | |
$html = new THtmlRenderer('app/resources/grafico.html'); | |
$html->enableSection('main', $data); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CARTÃO: 4444 4444 4444 4444 | |
VENCIMENTO: 01/2050 | |
CCV: 123 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Adquira já os Módulos desenvolvidos no Builder | |
Módulos: | |
Fluxo de Caixa | |
Ordem Serviço (Oficina Mecânica) | |
Igreja | |
Estética e Salão de Beleza | |
Checkout Stripe | |
Checkout AsaaS | |
Checkout PagSeguro |
NewerOlder