ultimix
tags_1_0_0 Class Reference

Public Member Functions

 compile_phpbb_tags ($Str)
 compile_ultimix_tags ($Str)

Detailed Description

String utilities.

Author
Dodonov A.A.

Definition at line 26 of file tags.php.

Member Function Documentation

compile_phpbb_tags (   $Str)

Function decodes phpbb tags.

Parameters
$Str- String to process.
Returns
- Decoded data.
Exceptions
ExceptionAn exception of this type is thrown.
Author
Dodonov A.A.

Definition at line 262 of file tags.php.

{
try
{
$Str = $this->compile_format_tags( $Str );
$Str = $this->compile_publish_tags( $Str );
$Str = $this->compile_content_tags( $Str );
$Str = $this->compile_list_tags( $Str );
$Str = $this->compile_style_tags( $Str );
return( $Str );
}
catch( Exception $e )
{
$a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
}
}
compile_ultimix_tags (   $Str)

Function decodes ultimix tags.

Parameters
$Str- String to process.
Returns
- Decoded data.
Exceptions
ExceptionAn exception of this type is thrown.
Author
Dodonov A.A.

Definition at line 349 of file tags.php.

{
try
{
$Placeholders = array(
'{lfb}' , '{rfb}' , '{eq}' , '[dot_comma]' , '[dot_dot]' , '[nbsp]' , '[eq]' , '{http_host}' ,
'{server_name}' , '[amp]' , '[r]' , '[n]' , '[sharp]' , '[br]'
);
$Replacers = array(
'{' , '}' , '=' , ';' , ':' , ' ' , '=' , @HTTP_HOST ,
$_SERVER[ 'SERVER_NAME' ] , '&' , "\r" , "\n" , '#' , '<br>'
);
$Str = str_replace( $Placeholders , $Replacers , $Str );
$Str = $this->compile_date_tags( $Str );
return( $Str );
}
catch( Exception $e )
{
$a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
}
}

The documentation for this class was generated from the following file: