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
$list = array( | |
"ca_ES" => "Català", | |
"cs_CZ" => "Čeština", | |
"cy_GB" => "Cymraeg", | |
"da_DK" => "Dansk", | |
"de_DE" => "Deutsch", | |
"eu_ES" => "Euskara", | |
"en_PI" => "English (Pirate)", | |
"en_UD" => "English (Upside Down)", | |
"ck_US" => "Cherokee", |
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
static $regions = array( | |
'Africa' => DateTimeZone::AFRICA, | |
'America' => DateTimeZone::AMERICA, | |
'Antarctica' => DateTimeZone::ANTARCTICA, | |
'Asia' => DateTimeZone::ASIA, | |
'Atlantic' => DateTimeZone::ATLANTIC, | |
'Europe' => DateTimeZone::EUROPE, | |
'Indian' => DateTimeZone::INDIAN, | |
'Pacific' => DateTimeZone::PACIFIC | |
); |
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 | |
namespace Doctrine\DBAL\Logging; | |
class Profiler implements SQLLogger | |
{ | |
public $start = null; | |
private $ci; |
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 if(!defined('BASEPATH')) exit('No direct script access allowed'); | |
class Forms { | |
public function getForm($form) { | |
return new $form; | |
} | |
} | |
class BaseForm { | |
public function validate() { |
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 if(!defined('BASEPATH')) exit('No direct script access allowed'); | |
class Forms { | |
public function getForm($form) { | |
return new $form; | |
} | |
} | |
class BaseForm { | |
public function validate() { |
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 if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
class MY_Form_validation extends CI_Form_validation { | |
/** | |
* Generic callback used to call callback methods for form validation. | |
* | |
* @param string | |
* - the value to be validated | |
* @param string |
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
Array | |
( | |
[0] => stdClass Object | |
( | |
[name] => US East | |
[language] => en_US | |
[countries_id] => 231 | |
[regions_id] => 1 | |
[short_name] => United States Minor Outlying Islands | |
) |
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
var productList = [ | |
{ | |
image: 'http://placehold.it/80x40', | |
product_part: { | |
name: '932-MIKROE-430', | |
url: 'http://www.mouser.com/ProductDetail/mikroElektronika/MIKROE-430/?qs=jBNCx3lXxWsfMeB5a61JlJaB1xWuDJlNcFz8Mb7F45k%3d' | |
}, | |
mfr_part: { | |
name: 'MIKROE-430', | |
url: 'http://www.mouser.com/ProductDetail/mikroElektronika/MIKROE-430/?qs=jBNCx3lXxWsfMeB5a61JlJaB1xWuDJlNcFz8Mb7F45k%3d' |
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
City/Ciudad: Mountain View | |
Country Code/Código País: US | |
Country Name/País: United States | |
Custom/Personalizado: Mountain View , California (USA) | |
Array: | |
Array | |
( | |
[ip] => 8.8.8.8 | |
[country_code] => US | |
[country_code3] => USA |
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
Testing Gist Package |