OXID eShop CE
4.9.10
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Pages
country_list.php
Go to the documentation of this file.
1
<?php
2
6
class
Country_List
extends
oxAdminList
7
{
8
14
protected
$_sListClass
=
'oxcountry'
;
15
21
protected
$_sDefSortField
=
'oxactive'
;
22
28
protected
$sSecondDefSortField
=
'oxtitle'
;
29
35
protected
$_blDesc
=
false
;
36
37
44
public
function
render
()
45
{
46
47
parent::render
();
48
49
return
"country_list.tpl"
;
50
}
51
58
public
function
getListSorting
()
59
{
60
$aListSorting =
parent::getListSorting
();
61
62
if
(array_keys($aListSorting[
'oxcountry'
]) === array(
'oxactive'
)) {
63
$aListSorting[
'oxcountry'
][$this->
_getSecondSortFieldName
()] =
'asc'
;
64
}
65
66
return
$aListSorting;
67
}
68
74
protected
function
_getSecondSortFieldName
()
75
{
76
return
$this->sSecondDefSortField
;
77
}
78
79
}
application
controllers
admin
country_list.php
Generated by
1.8.1.2