Software: Apache. PHP/5.5.15 uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 SYSTEM Safe-mode: OFF (not secure) C:\Intranet\C\xampp\htdocs\jaime\Xcode\SPLIB\ThirdParty\bbcode\ drwxrwxrwx |
Viewing file: bbcode_doc.html (6.05 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | BBCode Class DocumentationFor version 1.0.0ContentsOverviewNameBBCode ClassDescriptionClass for parsing of BBCode.AuthorLeif K-Brooks (eurleif@ecritters.biz)Functions$succeeded=$bbcode->add_alias($name,$aliasof)Adds a tag that is an alias of another tag. For exampleadd_alias('image','img');Adds an alias of the "img" tag named "image". This function returns true on success, false on failure. $error=$bbcode->add_tag($params)Adds a tag to the current BBCode definition. It returns an error message if adding did not succeed, otherwise it returns an empty string.The $params argument is an associative array with parameters to the function. Parameters
$bbcode->change_setting($name,$value)Changes the setting named $name to $value.$bbcode->export_definition()Returns the a serialized copy of the current tag definition, ready to be imported with import_definition.$data=$bbcode->get_data($name)Returns an array of the data of the tag named $name. Note that if $name is an alias, the "Name" property will be the alias's name.$succeeded=$bbcode->import_definition($definition,$mode)Imports a tag definition from the export_definition function.Modes
$result=$bbcode->parse_bbcode($text)Parses $text according to the current BBCode definition, and returns the result.SettingsThese settings change how certain features
behave. They can be set with the change_setting
function.
enced(defaults to true)Boolean for whether or not strings passes to the parse_bbcode function are html-encoded. |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0312 ]-- |