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 | |
require('../../dts/dbaSis.php'); | |
require('../../dts/getSis.php'); | |
require('../../dts/setSis.php'); | |
require('../../dts/outSis.php'); | |
$acao = ($_POST['acao'] ? $_POST['acao'] : $_GET['acao']); | |
$acao = mysql_real_escape_string($acao); |
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 CORE_Plugin_PagSeguro extends Zend_Controller_Plugin_Abstract | |
{ | |
public function preDispatch(Zend_Controller_Request_Abstract $request) | |
{ | |
require_once 'PagSeguroLibrary/PagSeguroLibrary.php'; | |
return $request; | |
} |
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
controller: | |
public function buscaItensAction() | |
{ | |
$query = $this->getRequest()->getParam('q'); | |
$limit = $this->getRequest()->getParam('limit'); | |
$reg = $this->model->buscaSelect( | |
$query, | |
$limit, |
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: | |
- Cria o cookie 'CookieTeste' com o valor 'HellowWorld!' que irá expirar quando o browser for fechado. | |
GerarCookie('CookieTeste', 'HellowWorld!', 0); | |
- Lê o conteúdo armazenado no cookie. | |
LerCookie('CookieTeste'); | |
- Exclúi o cookie. | |
ExcluirCookie('CookieTeste'); | |
*/ | |
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
SELECT col1, col2, @pv:=col3 AS 'col3' FROM table1 JOIN (SELECT @pv:=1)tmp WHERE col1=@pv |
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 | |
/** | |
* Zend Framework | |
* | |
* LICENSE | |
* | |
* This source file is subject to the new BSD license that is bundled | |
* with this package in the file LICENSE.txt. | |
* It is also available through the world-wide-web at this URL: | |
* http://framework.zend.com/license/new-bsd |
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
Show hidden characters
{ | |
"auto_complete_commit_on_tab ": false, | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
"default_line_ending": "unix", | |
"font_face": "Source Code Pro", | |
"font_size": 12.0, | |
"highlight_line": true, | |
"ignored_packages": |
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
Por este termo de confidencialidade e sigilo comprometo-me: | |
1. A não utilizar as informações confidenciais a que tiver acesso, para gerar benefício próprio exclusivo e/ou unilateral, presente ou futuro, ou para o uso de terceiros; | |
2. A não efetuar nenhuma gravação ou cópia da documentação confidencial a que tiver acesso; | |
3. A não apropriar-se para si ou para outrem de material confidencial e/ou sigiloso da tecnologia que venha a ser disponível; | |
4. A não repassar o conhecimento das informações confidenciais, responsabilizando-se por todas as pessoas que vierem a ter acesso às informações, por seu intermédio, e obrigando-se, assim, a ressarcir a ocorrência de qualquer dano e / ou prejuízo oriundo de uma eventual quebra de sigilo das informações fornecidas. |
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 Form_Cliente extends EasyBib_Form | |
{ | |
public function init() | |
{ | |
$this->setMethod('POST'); | |
$this->setName('formnovocliente'); | |
$this->setAttrib('class', 'row form-horizontal form-cliente'); | |
$this->setAttrib('enctype', 'multipart/form-data'); |