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 | |
### --- Snip --- ### | |
App::after(function($request, $response) | |
{ | |
// HTML Minification | |
if(App::Environment() != 'local') | |
{ | |
if($response instanceof Illuminate\Http\Response) |
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
{ | |
"my json question?" : "my json answer", | |
"my json question2?" : "my json answer2", | |
"my json question3?" : "my json answer 3" | |
} |
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 | |
//current way | |
$options = array( | |
'key1' => 'value', | |
'key2' => array( | |
'key3' => '' | |
) | |
); |
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 | |
public function options() { | |
return array( | |
'id'=>array('type' => 'boolean', 'required' => true), | |
'type'=>'button_set', | |
'title'=>array('type' => 'string', 'required' => true), | |
'subtitle'=>array('type' => 'string', 'required' => true), | |
'desc'=> array('type' => 'string', 'required' => true), | |
'required' => true, | |
'customizer' => true, |
NewerOlder