SDK
[ class tree: SDK ] [ index: SDK ] [ all elements ]

Procedural File: common_func_url.php

Source Location: /common_func_url.php



Page Details:









md_get_url_champ_complementaire [line 301]

string md_get_url_champ_complementaire( bool $modrewrite, string $forum_rewritten_name, bool $default, int $id_pseudo, string $pseudo)

Description : Return the url of a member configuration



Tags:

return:  // url


Parameters

bool   $modrewrite   // set to 1 to enable the modrewrite
string   $forum_rewritten_name   // rewritten name of the forum
bool   $default   // default forum ?
int   $id_pseudo   // id pseudo
string   $pseudo   // pseudo name
[ Top ]



md_get_url_forum [line 57]

string md_get_url_forum( bool $modrewrite, string $forum_rewritten_name, bool $default, [int $owntopic = '0'], [bool $moderation = '0'], [ $nojs = '0'], [bool $new = '0'], int $js)

Description : Return the url of the list of cats (forum)



Tags:

return:  // url


Parameters

bool   $modrewrite   // set to 1 to enable the modrewrite
string   $forum_rewritten_name   // rewritten name of the forum
bool   $default   // default forum ?
int   $owntopic   // set to 1/2/3 to get the corresponding flag page url
bool   $moderation   // if set to 1, display the fast moderation page
int   $js   // if not empty, the specified menu number will be unrolled
bool   $new   // if set to 1, shows new topics
   $nojs  
[ Top ]



md_get_url_forum0 [line 38]

string md_get_url_forum0( bool $modrewrite, string $forum_rewritten_name, [int $owntopic = '0'])

Description : Return the url of the list of forums (forum0)



Tags:

return:  // url


Parameters

bool   $modrewrite   // set to 1 to enable the modrewrite
string   $forum_rewritten_name   // rewritten name of the forum
int   $owntopic   // set to 1/2/3 to get the corresponding flag page url
[ Top ]



md_get_url_forum1 [line 96]

string md_get_url_forum1( bool $modrewrite, string $forum_rewritten_name, bool $default, int $cat, string $cat_nom, [int $subcat = ''], [string $subcat_nom = ''], [int $page = '1'], [bool $poll = '0'], [int $owntopic = '0'], [bool $trash = '0'], [ $trash_post = '0'], [bool $moderation = '0'], [string $urladd = ''], [ $nojs = '0'], [bool $new = '0'], [ $subcatgroup = '0'], int $js)

Description : Return the url of the list of topics (forum1)



Tags:

return:  // url


Parameters

bool   $modrewrite   // set to 1 to enable the modrewrite
string   $forum_rewritten_name   // rewritten name of the forum
bool   $default   // default forum ?
int   $cat   // cat id
string   $cat_nom   // cat name
int   $subcat   // optional subcat id
string   $subcat_nom   // optional subcat name
int   $page   // page to be displayed
bool   $poll   // if set to 1 display only the polls
int   $owntopic   // set to 1/2/3 to get the corresponding flag page url
bool   $trash   // if set to 1 display the trash content
bool   $moderation   // if set to 1, display the fast moderation page
string   $urladd   // optionnal string in the url
int   $js   // if not empty, the specified menu number will be unrolled
bool   $new   // if set to 1, shows new topics
   $trash_post  
   $nojs  
   $subcatgroup  
[ Top ]



md_get_url_forum2 [line 153]

string md_get_url_forum2( bool $modrewrite, string $forum_rewritten_name, bool $default, int $cat, string $cat_nom, int $topic_id, string $title, [int $page = '1'], [bool $poll = '0'], [int $owntopic = '0'], [bool $trash = '0'], [bool $trash_post = '0'], [int $p = '1'], [bool $print = '0'], [bool $no_call_to_rewrite_title = '0'], [int $numreponse = '0'], [bool $quote_only = '0'], [ $nojs = '0'], [bool $new = '0'], [int $subcat = '0'], [string $subcat_name = ''], int $js)

Description : Return the url of a topic content (forum2)



Tags:

return:  // url


Parameters

bool   $modrewrite   // set to 1 to enable the modrewrite
string   $forum_rewritten_name   // rewritten name of the forum
bool   $default   // default forum ?
int   $cat   // cat id
string   $cat_nom   // cat name
int   $topic_id   // topic id
string   $title   // topic title
int   $page   // page to be displayed
bool   $poll   // set to 1 if we come from the poll page (forum1)
int   $owntopic   // set to 1/2/3 depending on what we come from (forum1)
bool   $trash   // set to 1 if the topic is in the trash
bool   $trash_post   // set to 1 to only see the posts in the trash
int   $p   // set to page we come from (forum1)
bool   $print   // set to 1 to display the topic so that it could be printed
bool   $no_call_to_rewrite_title   // set to 1 if $title is already a rewritten title
int   $numreponse   // position the topic display to the given post id
bool   $quote_only   // only display quote of the given $numreponse
int   $js   // if not empty, the specified menu number will be unrolled
bool   $new   // if set to 1, shows new topics
int   $subcat   // subcat id
string   $subcat_name   // subcat name
   $nojs  
[ Top ]



md_get_url_forum2_title [line 12]

string md_get_url_forum2_title( )

Description : Get the rewritten title associated with the current url (to be called from a forum2.php page)



Tags:

return:  // rewritten title


[ Top ]



md_get_url_message [line 210]

string md_get_url_message( bool $modrewrite, string $forum_rewritten_name, bool $default, int $cat, string $cat_nom, [int $subcat = ''], [string $subcat_nom = ''], [int $topic_id = ''], [string $title = ''], [int $page = '1'], [bool $poll = '0'], [int $owntopic = '0'], [bool $trash = '0'], [bool $trash_post = '0'], [int $p = '1'], [bool $dest = ''], [int $quote = '0'], [int $edit = '0'], [int $ref = '0'], [bool $new = '0'], [ $subcatgroup = '0'])

Description : Return the url of the interface to post a message/topic (message)



Tags:

return:  // url


Parameters

bool   $modrewrite   // set to 1 to enable the modrewrite
string   $forum_rewritten_name   // rewritten name of the forum
bool   $default   // default forum ?
int   $cat   // cat id
string   $cat_nom   // cat name
int   $subcat   // optional subcat id
string   $subcat_nom   // optional subcat name
int   $topic_id   // topic id
string   $title   // topic title
int   $page   // page to be displayed
bool   $poll   // set to 1 if we want to post a poll (forum1)
int   $owntopic   // set to 1/2/3 depending on what we come from (forum1)
bool   $trash   // set to 1 if the topic is in the trash
bool   $trash_post   // set to 1 to only see the posts in the trash
int   $p   // set to page we come from (forum1)
bool   $dest   // set to name of the recipient if we want to create a private message
int   $quote   // id of the post we want to quote (0 by default)
int   $edit   // id of the post we want to edit (0 by default)
int   $ref   // post offset in the current page
bool   $new   // if set to 1, shows new topics
   $subcatgroup  
[ Top ]



md_get_url_online [line 335]

string md_get_url_online( bool $modrewrite, string $forum_rewritten_name, bool $default)

Description : Return the url of the list of online users



Tags:

return:  // url


Parameters

bool   $modrewrite   // set to 1 to enable the modrewrite
string   $forum_rewritten_name   // rewritten name of the forum
bool   $default   // default forum ?
[ Top ]



md_get_url_planduforum [line 354]

string md_get_url_planduforum( bool $modrewrite, string $forum_rewritten_name, bool $default, [int $cat = ''], [string $cat_nom = ''], [int $page = '1'])

Description : Return the url of the sitemap



Tags:

return:  // url


Parameters

bool   $modrewrite   // set to 1 to enable the modrewrite
string   $forum_rewritten_name   // rewritten name of the forum
bool   $default   // default forum ?
int   $cat   // cat id
string   $cat_nom   // cat name
int   $page   // sitemap page
[ Top ]



md_get_url_pre [line 22]

string md_get_url_pre( )

Description : Get base url for the forum



Tags:

return:  // base url


[ Top ]



md_get_url_recherche_userposts [line 320]

string md_get_url_recherche_userposts( bool $modrewrite, string $forum_rewritten_name, bool $default, int $id_pseudo, string $pseudo)

Description : Return the url of the link to search all the posts of a member



Tags:

return:  // url


Parameters

bool   $modrewrite   // set to 1 to enable the modrewrite
string   $forum_rewritten_name   // rewritten name of the forum
bool   $default   // default forum ?
int   $id_pseudo   // id pseudo
string   $pseudo   // pseudo name
[ Top ]



md_get_url_search [line 265]

string md_get_url_search( bool $modrewrite, string $forum_rewritten_name, bool $default, [int $cat = ''], [string $cat_nom = ''], [int $subcat = ''], [string $subcat_nom = ''])

Description : Return the url of the interface to launch a search (search)



Tags:

return:  // url


Parameters

bool   $modrewrite   // set to 1 to enable the modrewrite
string   $forum_rewritten_name   // rewritten name of the forum
bool   $default   // default forum ?
int   $cat   // cat id
string   $cat_nom   // cat name
int   $subcat   // optional subcat id
string   $subcat_nom   // optional subcat name
[ Top ]



md_get_url_sujetrelatif [line 380]

string md_get_url_sujetrelatif( bool $modrewrite, string $forum_rewritten_name, bool $default, int $cat, string $cat_nom, int $topic_id, string $title)

Description : Return the url of related topic associated with the given topic id



Tags:

return:  // url


Parameters

bool   $modrewrite   // set to 1 to enable the modrewrite
string   $forum_rewritten_name   // rewritten name of the forum
bool   $default   // default forum ?
int   $cat   // cat id
string   $cat_nom   // cat name
int   $topic_id   // topic id
string   $title   // title of the topic
[ Top ]



md_get_url_user [line 280]

string md_get_url_user( bool $modrewrite, string $forum_rewritten_name, bool $default, int $id_pseudo, string $pseudo)

Description : Return the url of a member profile



Tags:

return:  // url


Parameters

bool   $modrewrite   // set to 1 to enable the modrewrite
string   $forum_rewritten_name   // rewritten name of the forum
bool   $default   // default forum ?
int   $id_pseudo   // id pseudo
string   $pseudo   // pseudo name
[ Top ]



md_rewrite_title [line 411]

string md_rewrite_title( string $title)

Description : Rewrite a title to be used in a url



Tags:

return:  // title rewriten


Parameters

string   $title   // input title
[ Top ]



size_cmp [line 392]

void size_cmp( $a, $b)



Parameters

   $a  
   $b  
[ Top ]



Documentation generated on Sun, 08 Jul 2007 20:48:07 +0200 by phpDocumentor 1.3.1