- 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_Output
Cleans text added to the database and already parsed/cleaned via Parse_Input.
This is the last attempt to clean out any invalid tags, usually fix invalid HTML tags. Anything that needs to be removed should have already been removed with Parse_Input to save on running such a heavy routine for each item. We also parse emoticons and naughty words here as this information needs to be checked each time in case new words/emoticons are added by an Admin.
Located in /include/library/phpfox/parse/output.class.php (line 22)
array
$_aEmbedParams
= array() (line 47)
Parsing settings for video embeds.
array
$_aImageParams
= array() (line 40)
Parsing settings for images.
array
$_aRegEx
= array('url_to_link' => '~(?>[a-z+]{2,}://|www\.)(?:[a-z0-9]+(?:\.[a-z0-9]+)?@)?(?:(?:[a-z](?:[a-z0-9]|(?<!-)-)*[a-z0-9])(?:\.[a-z](?:[a-z0-9]|(?<!-)-)*[a-z0-9])+|(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))(?:/[^\\/:?*"<>|\n]*[a-z0-9])*/?(?:\?[a-z0-9_.%]+(?:=[a-z0-9_.%:/+-]*)?(?:&[a-z0-9_.%]+(?:=[a-z0-9_.%:/+-]*)?)*)?(?:#[a-z0-9_%.]+)?~is',
'email' => '/[-a-zA-Z0-9._]+@[-a-zA-Z0-9._]+(\.[-a-zA-Z0-9._]+)/is'
) (line 30)
Regex used to convert URL and emails.
Constructor __construct (line 53)
Class Constructor.
ajax (line 234)
Clean text when being sent back via AJAX.
Usually this is used to send back to an HTML <textarea>
- string $sTxt: is the text we need to clean
clean (line 172)
Clean input text, usually used within HTML <input>
- string $sTxt: is the string we need to clean
- bool $bHtmlChar: TRUE to convert HTML characters or FALSE to not convert.
htmlspecialchars (line 208)
Our method of PHP htmlspecialchars().
- string $sTxt: String to convert.
parse (line 63)
Text we need to parse, usually text added via a <textarea>.
- string $sTxt: is the string we need to parse
setEmbedParser (line 153)
Set video embed settings.
- array $aParams: ARRAY of settings.
setImageParser (line 136)
Set image parser settings.
- array $aParams: ARRAY of settings.
shorten (line 242)
- $html
- $maxLength
- $sSuffix
- $bHide
split (line 358)
Split a string at a specified location. This allows for browsers to automatically add breaks or wrap long text strings.
- string $sString: Text string you want to split.
- int $iCount: How many characters to wait until we need to perform the split.
-
bool
$bBreak: FALSE will just add a space and TRUE will add an HTML
.
_embedWmode (line 499)
Converts flash embedded videos to include "wmode".
- array $aMatches: ARRAY matchs from preg_match.
_fixEmbedWidth (line 531)
Fixes the width of embedded videos.
- string $sInt: Width or height of the video.
- string $sType: Define if we are dealing with the width or height of the video.
- string $sEnd: Last string of the embed code to see if we should close the video embed code.
_fixImageWidth (line 563)
Fixes image widths.
- array $aMatches: ARRAY of matches from a preg_match.
_getPhrase (line 552)
Gets a pharse from the language package.
- string $aMatches: ARRAY matches from preg_match.
_replaceEmails (line 403)
Replace unwanted emails on the site. We also take into account emails that are added into the "white" list.
- array $aMatches: ARRAY matches from preg_match.
_replaceLinks (line 431)
Replace unwanted links on the site. We also take into account links that are added into the "white" list.
- array $aMatches: ARRAY matches from preg_match.
_urlToLink (line 458)
Converts a URL into a HTML anchor.
- array $aMatches: ARRAY matches from preg_match.
Documentation generated on Tue, 28 Sep 2010 10:36:42 +0200 by phpDocumentor 1.4.0a2