ModRewriteClass to create websafe names
TODO: Adapt to PHP 5 coding standards...
Located in /contenido/plugins/mod_rewrite/classes/class.modrewrite.php (line 41)
bool
in_articles
([string $str_name = ""], [int $int_id = 0], [int $int_lang_id = 0], [ $int_idcat = 0])
bool
set_article
([string $str_name = ""], [int $int_id = 0], [int $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
Returns configuration of mod rewrite, content of gobal $cfg['mod_rewrite']
get_artids()
get article title, language id
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 category name from category id and language id.
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 name of client by id
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 by id
Check articles on websafe name.
Check all articles in the current category on existing same websafe name.
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 websafe name in article list.
Insert new websafe name in article list
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 Mon, 08 Sep 2008 03:08:38 +0200 by phpDocumentor 1.4.0