original_string: public static function add($map = array())
      {
          if (ArrayLib::is_associative($map)) {
              self::$mapping = array_merge(self::$mapping, $map);
          } else {
              user_error("DocumentationPermalinks::add() requires an associative array", E_USER_ERROR);
          }
      }
code: public static function add($map = array())
      {
          if (ArrayLib::is_associative($map)) {
              self::$mapping = array_merge(self::$mapping, $map);
          } else {
              user_error("DocumentationPermalinks::add() requires an associative array", E_USER_ERROR);
          }
      }
code_tokens: public static function add ( $ map = array ( ) ) { if ( ArrayLib :: is_associative ( $ map ) ) { self :: $ mapping = array_merge ( self :: $ mapping , $ map ) ; } else { user_error ( "DocumentationPermalinks::add() requires an associative array" , E_USER_ERROR ) ; } }
docstring: Add a mapping of nice short permalinks to a full long path
  
  <code>
  DocumentationPermalinks::add(array(
  'debugging' => 'current/en/sapphire/topics/debugging'
  ));
  </code>
  
  Do not need to include the language or the version current as it
  will add it based off the language or version in the session
  
  @param array
docstring_tokens: Add a mapping of nice short permalinks to a full long path