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
$(document).ready(function(){ | |
$("#checkAll").click(function(){ | |
$('input[type=checkbox]').each(function(){ | |
$(this).attr('checked', true); | |
}); | |
return false; | |
}); | |
}); | |
$(document).ready(function(){ |
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 | |
/* | |
Credit Card Validator | |
Date - Sep 04, 2009 | |
Author - Brent Shaffer | |
Fixed bug with some of the regular expressions not matching | |
(switch, jcb, enroute). |
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 | |
/** | |
* Extended action class for adding json rendering functionality. | |
* | |
* @author Phil Moorhouse <[email protected]> | |
* @package tlv4 | |
* @subpackage api | |
*/ | |
class tlApiActions extends sfActions | |
{ |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
</head> | |
<body> | |
<?php echo $sf_content ?> | |
</body> |
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 var_dump($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
# artist api | |
artist: | |
url: /artist/* | |
param: { module: artist, action: methodSwitch } | |
# info api | |
info: | |
url: /info/* | |
param: { module: info, action: methodSwitch } | |
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 | |
/** | |
* Extended version of sfWebBrowser to provide caching functionality | |
*/ | |
class tlCachedBrowser extends sfWebBrowser | |
{ | |
protected $cache_expiration = 86400; // 1 day default cache | |
/** |