- 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_Css
CSS Code Parser Parses CSS code passed on by end-users and make sure the data being passed is valid.
Class is connected with the profile designer, which allows end-users the ability to create custom profiles based on CSS we allow within this class.
Located in /include/library/phpfox/parse/css.class.php (line 19)
array
$_aAttachment
= array('scroll',
'fixed'
) (line 72)
Background Attachment (background-attachment)
array
$_aBorderStyles
= array('none',
'dotted',
'dashed',
'solid',
'double',
'groove',
'ridge',
'inset',
'outset',
'inherit'
) (line 114)
Border Styles (border-style)
array
$_aBorderWidths
= array('0px',
'1px',
'2px',
'3px',
'4px',
'5px',
'6px',
'7px',
'8px'
) (line 97)
Border Widths (border-width)
array
$_aCss
= '' (line 206)
ARRAY of CSS code to parse.
array
$_aFonts
= array('Microsoft Sans Serif',
'Verdana',
'Arial Black',
'Arial',
'Courier New',
'Palatino Linotype',
'Tahoma',
'Franklin Gothic Medium',
'Lucida Console'
) (line 26)
Fonts (font-family)
array
$_aFontSizes
= array('8px',
'9px',
'10px',
'11px',
'12px',
'14px',
'16px'
) (line 82)
Font Sizes (font-size)
array
$_aFontStyles
= array('normal',
'italic',
'oblique'
) (line 149)
Font Styles (font-style)
array
$_aFontWeights
= array('normal',
'bold',
'bolder',
'lighter'
) (line 160)
Font Weight (font-weight)
array
$_aPaddingSizes
= array('0px',
'1px',
'2px',
'3px',
'4px',
'5px',
'6px',
'7px',
'8px'
) (line 132)
Padding (padding)
array
$_aPositions
= array('top left',
'top center',
'top right',
'center left',
'center center',
'center right',
'bottom left',
'bottom center',
'bottom right'
) (line 43)
Positions (position)
array
$_aRegex
= array('hex' => '/^#([a-fA-F0-9]){6}$/',
'link' => '/^(?:(ftp|http|https):)?(?:\/\/(?:((?:%[0-9a-f]{2}|[\-a-z0-9_.!~*\'\(\);:&=\+\$,])+)@)?(?:((?:[a-z0-9](?:[\-a-z0-9]*[a-z0-9])?\.)*[a-z](?:[\-a-z0-9]*[a-z0-9])?)|([0-9]{1,3}(?:\.[0-9]{1,3}){3}))(?::([0-9]*))?)?((?:\/(?:%[0-9a-f]{2}|[\-a-z0-9_.!~*\'\(\):@&=\+\$,;])+)+)?\/?(?:\?.*)?$/i'
) (line 196)
Regex for CSS hex and image links.
array
$_aRemoveProperties
= array('-moz-binding'
) (line 213)
Evil CSS properties we need to remove.
array
$_aRepeat
= array('no-repeat',
'repeat-x',
'repeat-y',
'repeat'
) (line 60)
Background Repaat (background-repeat)
array
$_aTextDecorations
= array('none',
'underline',
'overline',
'line-through'
) (line 184)
Text Decoration (text-decoration)
array
$_aTextTransforms
= array('none',
'capitalize',
'uppercase',
'lowercase'
) (line 172)
Text Transforms (text-transform)
Constructor __construct (line 221)
Class constructor.
addCss (line 304)
Adds a CSS property and value to the global CSS ARRAY that will later be converted into CSS code.
- string $sKey: CSS property.
- string $sCodeStr: CSS value.
cleanCss (line 290)
Clean out the css by running the method parseCss().
- string $sCss: CSS code to parse.
getBorders (line 624)
Get all borders.
getBorderStyles (line 655)
Get all border styles.
getBorderWidths (line 570)
Get all border widths.
getCss (line 230)
Convert the ARRAY of CSS into CSS code.
getFonts (line 559)
Get all fonts.
getFontSizes (line 581)
Get all font sizes.
getFontStyles (line 603)
Get all font styles.
getFontWeights (line 592)
Get all font weights.
getJavaScript (line 702)
Get JavaScript code used to verify the validity of a CSS property value.
getPaddings (line 639)
Get all paddings.
getPaddingSizes (line 614)
Get all padding sizes.
getPositions (line 548)
Get all positions.
getTextAlign (line 665)
Get all text allignments.
getTextDecorations (line 692)
Get all text decorations.
getTextTransforms (line 681)
Get all text transformations.
isHex (line 267)
Check if a color is a valid HEX.
- string $sHex: HEX Color.
isImageLink (line 278)
Make sure images added to CSS are really images.
- string $sHex: Image path.
parseCss (line 338)
Parse CSS code and remove evil tags, comments.
- string $sCss: CSS Code we need to parse.
process (line 387)
Run sanity checks on a CSS property and value to make sure they are valid.
- string $sProperty: CSS property to check.
- string $sValue: CSS property value to check.
_build (line 756)
Build javascript code.
- array $aBuild: ARRAY of CSS properties and values to build.
Documentation generated on Tue, 28 Sep 2010 10:36:38 +0200 by phpDocumentor 1.4.0a2