This file contains hidden or 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 | |
/** | |
* Sistema_Variavel | |
* | |
* @abstract Prover uma classe que abstraia algumas questões importantes | |
* e perigosas que surgem durante o desenvolvimento de sistemas web. | |
* | |
* A primera questão é sobre variáveis, elas podem ser passadas por POST, GET e | |
* por SESSION. Essa classe irá simplificar o acesso as mesmas através do | |
* método estático get. |
This file contains hidden or 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 | |
/** | |
* Sistema_Variavel | |
* | |
* @abstract Prover uma classe que abstraia algumas questões importantes | |
* e perigosas que surgem durante o desenvolvimento de sistemas web. | |
* | |
* A primera questão é sobre variáveis, elas podem ser passadas por POST, GET e | |
* por SESSION. Essa classe irá simplificar o acesso as mesmas através do | |
* método estático get. |
This file contains hidden or 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
<? | |
/* | |
* selectArray | |
* @auth Anselmo Battisti | |
* @mail [email protected] | |
* | |
* @version 1.0 | |
* | |
* @example |
This file contains hidden or 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
sdfdsfsd |
This file contains hidden or 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
textboxes = $("input, select, textarea"); | |
if ($.browser.mozilla) { | |
$(textboxes).keypress (checkForEnter); | |
} else { | |
$(textboxes).keydown (checkForEnter); | |
} | |
function checkForEnter (event) { | |
console.log(this); |
This file contains hidden or 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
textboxes = $("input, select, textarea"); | |
if ($.browser.mozilla) { | |
$(textboxes).keypress (checkForEnter); | |
} else { | |
$(textboxes).keydown (checkForEnter); | |
} | |
function checkForEnter (event) { | |
console.log(this); |
This file contains hidden or 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
class xml2array { | |
function xml2array($xml) { | |
if (is_string($xml)) { | |
$this->dom = new DOMDocument; | |
$this->dom->loadXml($xml); | |
} | |
return FALSE; | |
} |
This file contains hidden or 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 | |
/** | |
* Retorna dados sobre o endereço | |
* | |
* @url http://code.google.com/apis/maps/documentation/v3/reference.html#GeocoderRequest | |
* | |
* @autor Anselmo Battisti ([email protected]) | |
*/ | |
define("URL","http://maps.google.com/maps/api/geocode/json?address="); |
This file contains hidden or 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
/** | |
* moeda | |
* | |
* @abstract Classe que formata de desformata valores monetários em float e formata valores | |
* de float em moeda. | |
* | |
* @author anselmo | |
* | |
* @email anselmobattisti arroba gmail.com | |
* |
This file contains hidden or 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
/** | |
* somar_dias_uteis | |
* | |
* @abstract Soma dias úteis a uma data | |
* | |
* @param unknown_type $str_data data original | |
* @param unknown_type $int_qtd_dias_somar dias que serão somados | |
* @param unknown_type $formato formato da saida | |
* | |
* @return string |
OlderNewer