Brimbox Logo Brimbox Version 2.3.4 Released

archive_link>>

Method output a archive link and label, sets the archive global value.

Class: bb_main, called as $main

File: bb_main.php (php)

Declaration:

function archive_link($class_button = "link underline",  $class_span = "bold")

Usage:

$main->archive_link($class_button, $class_span);

Outputs: The standard archive switch.

Note: this toggles the global $archive variable from 1 to 0, 0 shows all records.

Parameter: $class_button (string)
Class of the archive link, default link.

Parameter: $class_span (string)
Class of the label introducing the archive link.

Updated: 2016-07-17