changed to this:
---------------------
function bla (App &$a) {
$a->bla = 'stuff';
}
---------------------
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
fb0ed18a43
commit
4dce3d8224
121 changed files with 225 additions and 220 deletions
|
|
@ -3,7 +3,7 @@
|
|||
require_once('include/datetime.php');
|
||||
|
||||
|
||||
function localtime_post(&$a) {
|
||||
function localtime_post(App &$a) {
|
||||
|
||||
$t = $_REQUEST['time'];
|
||||
if(! $t)
|
||||
|
|
@ -16,7 +16,7 @@ function localtime_post(&$a) {
|
|||
|
||||
}
|
||||
|
||||
function localtime_content(&$a) {
|
||||
function localtime_content(App &$a) {
|
||||
$t = $_REQUEST['time'];
|
||||
if(! $t)
|
||||
$t = 'now';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue