Private Method Details |
check_path |
private boolean check_path( object displayobject $displayobject, object sessionobject $sessionobject, string $path )
|
|
Simple path checker
|
Parameter |
|
object displayobject |
$displayobject |
|
|
The displayobject |
|
|
object sessionobject |
$sessionobject |
|
|
The current session object |
|
|
string |
$path |
|
|
The full path |
|
Returns |
boolean |
|
check_file |
private boolean check_file( object displayobject $displayobject, object sessionobject $sessionobject, string $file )
|
|
Simple file checker
|
Parameter |
|
object displayobject |
$displayobject |
|
|
The displayobject |
|
|
object sessionobject |
$sessionobject |
|
|
The current session object |
|
|
string |
$file |
|
|
The full path and filename |
|
Returns |
boolean |
|
get_members_list |
private array get_members_list( string &$path, int &$start_at, int &$per_page )
|
|
Simple file checker
|
Parameter |
|
string |
&$path |
|
|
Path to the memebers directory |
|
|
int |
&$start_at |
|
|
Start point |
|
|
|
Returns |
array |
|
getubbperms |
private mixed getubbperms( string $adminstring, int $bannedgroupid )
|
|
Gets the ubb user permission mapping to vb permissions
|
Parameter |
|
string |
$adminstring |
|
|
Path to the memebers directory |
|
|
int |
$bannedgroupid |
|
|
Banned group id |
|
Returns |
mixed |
|
local_html_2bb |
private string local_html_2bb( string $htmlcode )
|
|
Parses ubb_classic html
|
Parameter |
|
string |
$htmlcode |
|
|
The html to parse |
|
Returns |
string |
|
get_custom_smilie |
private array get_custom_smilie( string $dir )
|
|
Returns custom ubb_classic smilies
|
Parameter |
|
string |
$dir |
|
|
The directory path to the smmilies |
|
Returns |
array |
|
makelist |
private array makelist( string &$filepath, array &$vbuserid )
|
|
Returns a vbuser list from the ubb_classic users
|
Parameter |
|
string |
&$filepath |
|
|
The directory path |
|
|
array |
&$vbuserid |
|
|
The vBuser array |
|
Returns |
array |
|
get_pm_users |
private array get_pm_users( string &$ubbmemberspath )
|
|
Returns an array of the ubb_classic pm users
|
Parameter |
|
string |
&$ubbmemberspath |
|
|
The directory path |
|
Returns |
array |
|
convert_ubb6_pm_to_pm |
private string convert_ubb6_pm_to_pm( string $varname, string $data )
|
|
Regex callback
|
Parameter |
|
string |
$varname |
|
|
Variable name |
|
|
string |
$data |
|
|
Variable value |
|
Returns |
string |
|
ubbdate2unix |
private string ubbdate2unix( string $datestring, string $timestring )
|
|
Returns a correctly formatted unix time from a ubb time string
|
Parameter |
|
string |
$datestring |
|
|
Date string |
|
|
string |
$timestring |
|
|
Time string |
|
Returns |
string |
|
clean_pm_text |
private string clean_pm_text( string $text )
|
|
HTML clean up for ubb_classic PM's
|
Parameter |
|
string |
$text |
|
|
The text to be parsed |
|
Returns |
string |
|
get_ubb_classic_polls_details |
private array get_ubb_classic_polls_details( string &$path, int &$poll_start_at, int &$poll_per_page )
|
|
Returns a list of the ubb_polls
|
Parameter |
|
string |
&$path |
|
|
Path to the polls directory |
|
|
int |
&$poll_start_at |
|
|
Start point |
|
|
int |
&$poll_per_page |
|
|
End point |
|
Returns |
array |
|
get_ubb_poll_results_details |
private void get_ubb_poll_results_details( string &$polls_path, string &$poll_file_name )
|
|
Mad ultra ninja code from the high council of Regexia
|
Parameter |
|
string |
&$polls_path |
|
|
Path to the polls directory |
|
|
string |
&$poll_file_name |
|
|
Poll file name (inc. .cgi) |
|
Returns |
void |
|
escape_text_single_quotes |
private string escape_text_single_quotes( string $text, string $prepend, string $append )
|
|
Regex callback
|
Parameter |
|
|
|
|
|
|
Returns |
string |
|
convert_to_array |
private string convert_to_array( string $varname, string $data )
|
|
Regex callback
|
Parameter |
|
string |
$varname |
|
|
Variable name |
|
|
string |
$data |
|
|
Variable value |
|
Returns |
string |
|
if |
private void if( $path, $path )
|
|
Warning: documentation is missing.
|
Parameter |
|
|
$path |
|
|
Warning: documentation is missing. |
|
|
|
$path |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|