Модули c namespace
This commit is contained in:
parent
0f4b2fb722
commit
e9f7c23990
11 changed files with 92 additions and 80 deletions
|
|
@ -30,7 +30,7 @@ class Layout_Manager extends Filter_Filter
|
|||
$this->addCondition(Functions::rcurry(array($this, 'checkXHR'), $get), $layout);
|
||||
}
|
||||
|
||||
public function checkGet($request, $get)
|
||||
public function checkGet(/*.HttpRequest.*/$request, $get)
|
||||
{
|
||||
if (is_array($get)) {
|
||||
foreach ($get as $key => $value) {
|
||||
|
|
@ -42,7 +42,7 @@ class Layout_Manager extends Filter_Filter
|
|||
return true;
|
||||
}
|
||||
|
||||
public function checkXHR($request, $get)
|
||||
public function checkXHR(/*.HttpRequest.*/$request, $get)
|
||||
{
|
||||
return $request->isAjax() && $this->checkGet($request, $get);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue