+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
* $Id$
*
*/
class CRM_Utils_PagerAToZ {
/**
- * Returns the alphabetic array for sorting by character
+ * Returns the alphabetic array for sorting by character.
*
* @param array $query
* The query object.
*
* @return string
* The html formatted string
- * @static
*/
public static function getAToZBar(&$query, $sortByCharacter, $isDAO = FALSE) {
$AToZBar = self::createLinks($query, $sortByCharacter, $isDAO);
}
/**
- * Return the all the static characters
+ * Return the all the static characters.
*
* @return array
* is a array of static characters
- * @static
*/
public static function getStaticCharacters() {
$staticAlphabets = array(
'W',
'X',
'Y',
- 'Z'
+ 'Z',
);
return $staticAlphabets;
}
/**
- * Return the all the dynamic characters
+ * Return the all the dynamic characters.
*
* @param $query
* @param $isDAO
*
* @return array
* is a array of dynamic characters
- * @static
*/
public static function getDynamicCharacters(&$query, $isDAO) {
if ($isDAO) {
}
/**
- * Create the links
+ * Create the links.
*
* @param array $query
* The form values for search.
*
* @return array
* with links
- * @static
*/
public static function createLinks(&$query, $sortByCharacter, $isDAO) {
$AToZBar = self::getStaticCharacters();
$aToZBar[] = array('item' => $url);
return $aToZBar;
}
+
}