- Description
-
Class trees
Index of elements
Todo List
Interfaces
Phpfox_Cache_Interface
Phpfox_Database_Interface
Phpfox_Gateway_Interface
Phpfox_Image_Interface
Phpfox_Mail_Interface
Classes
Database_Driver_Mssql
Database_Driver_Oracle
Database_Driver_Postgres
Database_Driver_Sqlite
Phpfox
Phpfox_Ajax
Phpfox_Api
Phpfox_Archive
Phpfox_Archive_Export
Phpfox_Archive_Extension_Tar
Phpfox_Archive_Extension_Xml
Phpfox_Archive_Extension_Zip
Phpfox_Archive_Import
Phpfox_Archive_Support
Phpfox_Cache
Phpfox_Cache_Abstract
Phpfox_Cache_Storage_File
Phpfox_Cache_Storage_Memcache
Phpfox_Cdn
Phpfox_Cdn_Abstract
Phpfox_Cdn_Module_S3
Phpfox_Component
Phpfox_Cron
Phpfox_Database
Phpfox_Database_Dba
Phpfox_Database_Driver_Mysql
Phpfox_Database_Driver_Mysqli
Phpfox_Database_Export
Phpfox_Database_Support
Phpfox_Date
Phpfox_Debug
Phpfox_Diff_Md5
Phpfox_Editor
Phpfox_Error
Phpfox_File
Phpfox_File_Minimize
Phpfox_Ftp
Phpfox_Gateway
Phpfox_Gateway_Api_2checkout
Phpfox_Gateway_Api_Paypal
Phpfox_Hash
Phpfox_Image
Phpfox_Image_Abstract
Phpfox_Image_Helper
Phpfox_Image_Library_Gd
Phpfox_Locale
Phpfox_Mail
Phpfox_Mail_Driver_Phpmailer_Mail
Phpfox_Mail_Driver_Phpmailer_Smtp
Phpfox_Module
Phpfox_Pager
Phpfox_Parse_Bbcode
Phpfox_Parse_Css
Phpfox_Parse_Format
Phpfox_Parse_Input
Phpfox_Parse_Output
Phpfox_Parse_Wiki
Phpfox_Plugin
Phpfox_Process
Phpfox_Request
Phpfox_Search
Phpfox_Search_Inline
Phpfox_Server
Phpfox_Service
Phpfox_Session
Phpfox_Session_Handler
Phpfox_Session_Handler_Default
Phpfox_Session_Handler_File
Phpfox_Session_Handler_Memcache
Phpfox_Session_Storage_Cookie
Phpfox_Session_Storage_Session
Phpfox_Setting
Phpfox_Spam
Phpfox_Spam_Hash
Phpfox_Template
Phpfox_Url
Phpfox_Validator
Phpfox_Xml_Builder
Phpfox_Xml_Parser
Functions
d
e
p
Files
2checkout.class.php
abstract.class.php
abstract.class.php
abstract.class.php
ajax.class.php
api.class.php
archive.class.php
bbcode.class.php
builder.class.php
cache.class.php
cdn.class.php
component.class.php
cookie.class.php
cron.class.php
css.class.php
database.class.php
date.class.php
dba.class.php
debug.class.php
default.class.php
editor.class.php
error.class.php
export.class.php
export.class.php
file.class.php
file.class.php
file.class.php
format.class.php
ftp.class.php
gateway.class.php
gd.class.php
handler.class.php
hash.class.php
hash.class.php
helper.class.php
image.class.php
import.class.php
inline.class.php
input.class.php
interface.class.php
interface.class.php
interface.class.php
interface.class.php
interface.class.php
locale.class.php
mail.class.php
mail.class.php
md5.class.php
memcache.class.php
memcache.class.php
minimize.class.php
module.class.php
mssql.class.php
mysql.class.php
mysqli.class.php
oracle.class.php
output.class.php
pager.class.php
parser.class.php
paypal.class.php
phpfox.class.php
plugin.class.php
postgres.class.php
process.class.php
request.class.php
s3.class.php
search.class.php
server.class.php
service.class.php
session.class.php
session.class.php
setting.class.php
smtp.class.php
spam.class.php
sqlite.class.php
support.class.php
support.class.php
tar.class.php
template.class.php
url.class.php
validator.class.php
wiki.class.php
xml.class.php
zip.class.php
Template-
Classes
Phpfox_Template_Cache
Files
cache.class.php
Phpfox_Parse_Bbcode
BBCode Parser This class parses common BBCode into HTML. This class is fully part of the parsing system we have in place when parsing incoming data before entering it into the database.
Located in /include/library/phpfox/parse/bbcode.class.php (line 18)
string
_replaceBbCode
(string $sBbCode, [string $sType = 'prefix'], [bool $bOption = false], [string $sOption = null])
array
$_aAttachments
= array() (line 105)
Array of attachments we are going to pull from the db a little later.
Reason we place this into an array is so we don't run a query for each attachment.
array
$_aCodes
= array() (line 97)
Holds an ARRAY of CODE. (eg. [php], [html], [code])
array
$_aDefault
= array('b' => array(
'prefix' => '<b>',
'suffix' => '</b>'
),'i'=>array('prefix'=>'<i>','suffix'=>'</i>'),'link'=>array('prefix'=>'<a href="{option}" target="_blank" rel="nofollow">','suffix'=>'</a>'),'strong'=>array('prefix'=>'<strong>','suffix'=>'</strong>'),'u'=>array('prefix'=>'<u>','suffix'=>'</u>'),'color'=>array('prefix'=>'<span style="color:{option};">','suffix'=>'</span>'),'em'=>array('prefix'=>'<em>','suffix'=>'</em>'),'email'=>array('prefix'=>'<a href="mailto:{option}">','suffix'=>'</a>'),'size'=>array('prefix'=>'<font size="{option}">','suffix'=>'</font>'),'center'=>array('prefix'=>'<div style="text-align:center;">','suffix'=>'</div>'),'align'=>array('prefix'=>'<div style="text-align:{option};">','suffix'=>'</div>'),'ul'=>array('prefix'=>'<ul>','suffix'=>'</ul>'),'ol'=>array('prefix'=>'<ol>','suffix'=>'</ol>'),'li'=>array('prefix'=>'<li>','suffix'=>'</li>'),'br'=>array('prefix'=>'<br />','suffix'=>''),'hr'=>array('prefix'=>'<hr />','suffix'=>''),) (line 25)
List of parsing rules to convert BBCOde into HTML.
array
$_aUsers
= array() (line 119)
ARRAY of all the user BBCode calls.
array
$_aVideos
= array() (line 112)
ARRAY of all the video BBCode calls.
bool
$_bUseVideoImage
= false (line 127)
Identify if we should use the videos image instead of loading the actual video when replacing the video BBCode.
Constructor __construct (line 134)
Class constructor is used to load any hooks developers have in case they want to extend BBCode support.
cleanCode (line 271)
Remove BBCode from a block of text.
- string $sText: Text to parse.
parse (line 177)
2nd run to parse BBCode into HTML. This is the final run and after this all BBCode will have been converted into HTML.
- string $sTxt: String to parse.
preParse (line 145)
Run the first round of parsing of CODE related BBCode since we need to save them in memory.
- string $sTxt: String we need to parse.
stripCode (line 283)
Removes any BBCode and any content found within a BBCode call.
- string $sText: String to parse and remove all BBCode.
- string $mCode: String found within the BBCode.
useVideoImage (line 163)
Identify if we should use the videos image instead of loading the actual video when replacing the video BBCode.
- bool $bUseVideoImage: Set to TRUE if we should use the videos image instead of loading the actual video when replacing the video BBCode.
_attachment (line 457)
Parse attachments and create the new ID.
- string $iId: Attachment ID.
- string $sText: Text to parse.
_cleanSpan (line 819)
Clean html <span>.
- string $sStyle: Custom CSS for this span.
- string $sTxt: Text to parse.
_code (line 525)
Parse code blocks (eg. code, html, php)
- string $sTxt: Text to parse.
- string $sType: Type of code block.
_getBlockHeight (line 834)
Block height.
- string $sTxt: Block of text to find the height of
_getHtmlColors (line 950)
Color code.
_htmlTags (line 861)
Handles an individual HTML tag in a [html] tag.
- string $sTag: The body of the tag.
_image (line 971)
Parse images from BBCode [image]
- string $sTxt: Text to parse.
_parseAttachment (line 393)
Parse BBCode attachments.
- string $iId: Unique ID identifying the attachment call.
- string $sText: String of text to parse.
_parseBbCode (line 758)
Parse BBCode with contents within it.
- string $sBbcode: BBCode to parse.
- string $sTxt: Text to parse.
_parseBbCodeOption (line 789)
Parse BBCode with options.
- string $sBbCode: BBCode to parse.
- string $sOption: Option part of the BBCode.
- string $sTxt: Text to parse.
_parseBbCodeSingle (line 731)
Parse a specific BBCode.
- array $aMatches: ARRAY of matches for this bbcode.
_parseMember (line 696)
Holds in memory all the memers we need to parse.
- string $sType: Type of method to parse.
- string $sMember: Name of the member.
_parseOption (line 1027)
Clean BBCode option.
- string $sTxt: String to parse.
_parseTable (line 710)
Parse BBCode [table][/table]
- int $i: Size of the table.
- string $sStr: String to parse.
_parseUser (line 656)
Parse user BBCode that creates a link to their profile.
- string $sType: Type of connection to the profile.
- string $sMember: Name of the member.
_parseValue (line 1038)
Clean BBCode value.
- string $sTxt: String to parse.
_parseVideo (line 485)
Parse videos.
- int $iId: Unique ID of the video.
_quote (line 990)
Parse and convert [quote][/quote] BBCode.
- string $sDetail: Details identifying the quote message.
- string $sTxt: Text to parse.
_replaceBbCode (line 1072)
Replace default BBCode with HTML.
- string $sBbCode: BBCode to parse.
- string $sType: Type of BBCode.
- bool $bOption: TRUE if option is allowed, FALSE if not.
- string $sOption: If argument 3 is TRUE then you can pass a valid STRING option here.
_trim (line 1054)
Trim BBCode.
- string $sTxt: Text to parse.
_video (line 503)
Create an ID and store the parsed video ID in memory.
- int $iId: ID of the video.
Documentation generated on Tue, 28 Sep 2010 10:36:37 +0200 by phpDocumentor 1.4.0a2