CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Documentation for CRM_Utils_System::url
Pages: [1]

Author Topic: Documentation for CRM_Utils_System::url  (Read 979 times)

rshun

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 0
  • CiviCRM version: 4.2.1
  • CMS version: Drupal 7.21
  • MySQL version: 5.5
  • PHP version: 5.4
Documentation for CRM_Utils_System::url
November 07, 2012, 10:34:27 am
Hi,

  I am new to civicrm.  Where can I find documentation for CRM_Utils_System::url()?

Thanks,

R

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Documentation for CRM_Utils_System::url
November 07, 2012, 11:05:30 am
The function is in 'CRM/Utils/System.php'

Here's what the comments block says
Code: [Select]
/**
   * Generate an internal CiviCRM URL
   *
   * @param $path     string   The path being linked to, such as "civicrm/add"
     * @param $query    mixed    A query string to append to the link, or an array of key-value pairs
   * @param $absolute boolean  Whether to force the output to be an absolute link (beginning with http:).
   *                           Useful for links that will be displayed outside the site, such as in an
   *                           RSS feed.
   * @param $fragment string   A fragment identifier (named anchor) to append to the link.
   *
   * @return string            an HTML string containing a link to the given path.
   * @access public
   * @static
   */
  static function url($path = NULL,
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Documentation for CRM_Utils_System::url

This forum was archived on 2017-11-26.