projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
$page is not anymore a global variable.
[platal.git]
/
classes
/
plwizard.php
diff --git
a/classes/plwizard.php
b/classes/plwizard.php
index
3667268
..
48117d5
100644
(file)
--- a/
classes/plwizard.php
+++ b/
classes/plwizard.php
@@
-37,7
+37,7
@@
interface PlWizardPage
/** Prepare the page by assigning to it any useful value.
*/
/** Prepare the page by assigning to it any useful value.
*/
- public function prepare(Pl
atal
Page &$page, $id);
+ public function prepare(PlPage &$page, $id);
/** Process information resulting of the application of the page.
* This function must return a clue indicating the next page to show.
/** Process information resulting of the application of the page.
* This function must return a clue indicating the next page to show.
@@
-138,7
+138,7
@@
class PlWizard
return new $page($this);
}
return new $page($this);
}
- public function apply(Pl
atal
Page &$smarty, $baseurl, $pgid = null, $mode = 'normal')
+ public function apply(PlPage &$smarty, $baseurl, $pgid = null, $mode = 'normal')
{
if ($this->stateless && (isset($this->lookup[$pgid]) || isset($this->pages[$pgid]))) {
$curpage = is_numeric($pgid) ? $pgid : $this->lookup[$pgid];
{
if ($this->stateless && (isset($this->lookup[$pgid]) || isset($this->pages[$pgid]))) {
$curpage = is_numeric($pgid) ? $pgid : $this->lookup[$pgid];