SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 306 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"

'filter_order_Dir',
'filter_order_Dir', 'ASC');
// set the table order values
$lists['order_Dir'] = $filter_order_Dir;
$lists['order'] = $filter_order;
// add the lists array to the object ready for the layout
$this->assignRef('lists', $lists);
We use the application method getUserStateFromRequest() to determine
the order and the direction, using the paths $option plus filter_order and
filter_order_Dir respectively. The default values are published, which is the
default column by which we will order the data, and ASC, the default ordering
direction, ascending.
We mentioned earlier that to facilitate the correct usage of JPagination we have to
add two hidden fields, filter_order and filter_order_Dir. These are the fields
from which these two $lists values are derived.
So now that we have the lists attribute sorted we can quickly add those hidden
fields to our temple. This example demonstrates how:


The most important thing to notice here is that we leave the value of the filter_
order_Dir field empty.


Pages:
294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6