View Revisions: Issue #22864

Summary 0022864: phpdoc for 'print_link_button' has incorrect order of parameters
Revision 2017-05-13 08:37 by dregad
Description

Currently:

/**
 * print a HTML link with a button look
 * <span class="mention"><a class="user" href="http://www.mantisbt.org/bugs/view_user_page.php?id=31304">@param</a></span> string  $p_link       The page URL.
 * <span class="mention"><a class="user" href="http://www.mantisbt.org/bugs/view_user_page.php?id=31304">@param</a></span> string  $p_url_text   The displayed text for the link.
 * <span class="mention"><a class="user" href="http://www.mantisbt.org/bugs/view_user_page.php?id=31304">@param</a></span> boolean $p_new_window Whether to open in a new window.
 * <span class="mention"><a class="user" href="http://www.mantisbt.org/bugs/view_user_page.php?id=31304">@param</a></span> string  $p_class      The CSS class of the link.
 * @return void
 */
function print_link_button( $p_link, $p_url_text, $p_class = '', $p_new_window = false )
Revision 2017-05-12 14:42 by cproensa
Description

Currently:

/**

  • print a HTML link with a button look
  • @param string $p_link The page URL.
  • @param string $p_url_text The displayed text for the link.
  • @param string $p_class The CSS class of the link.
  • @param boolean $p_new_window Whether to open in a new window.
  • @return void
    */
    function print_link_button( $p_link, $p_url_text, $p_class = '', $p_new_window = false )