ModRewriteClass to create websafe names
TODO: Adapt to PHP 5 coding standards...
Located in /classes/class.modrewrite.php (line 41)
boolean
in_articles
([string $str_name = ""], [integer $int_id = 0], [integer $int_lang_id = 0], [ $int_idcat = 0])
boolean
set_article
([string $str_name = ""], [integer $int_id = 0], [integer $int_lang_id = 0], [ $int_idcat = 0])
build_new_url()
build new url from given arguments
get querystring of front_content.php and convert this url to the new mod_rewrite url method will be startet before the complete output of the front site will be executed
build_recursiv_path()
build a recursiv path for mod_rewrite rule like server directories ( dir1/dir2/dir3 )
return full contenido url from single anchor
get_artids()
get article title, language id
get_arttitle()
get article name from article id and language id
get_art_lang_websafename()
get article websafe name from idartlang
get_art_websafename()
get article websafe name from article id and language id
get_catname()
get category name from category id and language id
get_cat_languages()
get language ids from category id
get_client_full_url_parts() Splits passed argument into scheme://host and path/query.
Example: input = http://host/front_content.php?idcat=123 return = array('htmlpath' => 'http://host', 'url' => 'front_content.php?idcat=123')
get_client_name()
get name of client id
get_id_from_idartlang()
get article id and language id from article language id
Used to postprocess resolved path
Error site handling if category not found
if percentage == 100 and there is no 100 percentage result value, error site will be shown - can be adjust by user settings for smooth similar effects - 80 to 95 will be best but have to check by user
Returns name of language
get_language_name()
get name of language id
in_articles()
Check articles on websafe name
Check all articles in the current category on existing same websafe name
in_categories()
Check categories on websafe name
Check all categories in the main parent category on existing same websafe name
reset_aliases()
method to reset all aliases (category and article)
reset_articles_aliases()
method to reset all aliases in articles
reset_categories_aliases()
method to reset all aliases in categories
return full contenido url from single anchor
set_article()
set websafe name in article list
insert new websafe name in article list
set_category()
set websafe name in category list
insert new websafe name in category list
Analyses the settings for usage of categories as a html file and returns the result as a boolean
Documentation generated on Sun, 03 Aug 2008 22:21:45 +0200 by phpDocumentor 1.4.0