1 <?php
2 /**
3 * @package FrameworkOnFramework
4 * @subpackage form
5 * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
6 * @license GNU General Public License version 2 or later; see LICENSE.txt
7 */
8 // Protect from unauthorized access
9 defined('FOF_INCLUDED') or die;
10
11 /**
12 * Row selection checkbox
13 *
14 * @package FrameworkOnFramework
15 * @since 2.0
16 */
17 class FOFFormHeaderRowselect extends FOFFormHeader
18 {
19 /**
20 * Get the header
21 *
22 * @return string The header HTML
23 */
24 protected function getHeader()
25 {
26 return '<input type="checkbox" name="checkall-toggle" value="" title="'
27 . JText::_('JGLOBAL_CHECK_ALL')
28 . '" onclick="Joomla.checkAll(this)" />';
29 }
30 }
31