Back to Phoca Gallery project (class list)

Class PhocaGalleryGrid - list of methods

Extends

Copyright: Copyright (C) Jan Pavelka https://www.phoca.cz
License: http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 and later
Located at: Phocagallery/html/grid.php
Project: Phoca Gallery

Method Summary

public static
(mixed $rowNum, mixed $recId, mixed $checkedOut = false, mixed $name = 'cid', mixed $stub = 'cb', mixed $title = '', mixed $formId = null)

Show source code of this method: id Source Code

public static string
(mixed $title, mixed $order, mixed $direction = 'asc', mixed $selected = 0, mixed $task = null, mixed $new_direction = 'asc', mixed $tip = '', mixed $form = '', mixed $suffix = '')

Method to sort a column in a grid
Parameters
  • string $title The link title
  • string $order The order field for the column
  • string $direction The current direction
  • string $selected The selected ordering
  • string $task An optional task override
  • string $new_direction An optional direction for the new column
  • string $tip An optional text shown as tooltip title instead of $title
Returns
  • string
Since
  • 1.5
Show source code of this method: sort Source Code

public static
()

Show source code of this method: renderSortJs Source Code