You are here

public function PatternViewDisplay::sort in Patterns 6.2

File

./pattern.class.php, line 158

Class

PatternViewDisplay

Code

public function sort($name, $order, $extra = array()) {
  $this
    ->item('sort', $name, array_merge(array(
    'order' => strtoupper($order),
  ), $extra));
}