Blesta
  • Package
  • Class
  • Tree
  • Deprecated

Packages

  • blesta
    • app
      • controllers
      • models
    • components
      • areyouahuman
      • auth
        • motp
        • oath
      • delivery
        • interfax
        • postal
          • methods
      • download
      • email
      • events
        • default
      • exchange
        • rates
          • google
            • finance
          • yahoo
            • finance
      • gateway
        • payments
      • gateways
      • invoice
        • delivery
        • templates
          • quickbooks
            • invoice
      • json
      • modules
      • net
        • amazon
          • s3
        • http
        • net
          • geo
            • ip
      • plugins
      • recaptcha
      • reports
        • aging
          • invoices
        • custom
          • report
        • invoice
          • creation
        • tax
          • liability
        • transactions
          • applied
          • received
      • security
      • session
        • cart
      • settingscollection
      • upgrades
        • tasks
      • upload
      • vcard
    • helpers
      • currency
        • format
      • data
        • structure
          • array
          • string
      • text
        • parser
      • widget
        • client
  • minPHP
    • components
      • input
      • record
    • helpers
      • color
      • data
        • structure
      • date
      • form
      • html
      • javascript
      • xml
    • lib
  • None
  • PHP

Classes

  • TextParser

Class TextParser

Wrapper for text parsers

Package: blesta\helpers\text\parser
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at helpers/text_parser/text_parser.php

Methods summary

public mixed
# create( string $parser )

Creates and returns an instance of the requested text parser

Creates and returns an instance of the requested text parser

Parameters

$parser
string
$parser The parser to use for encouding. Acceptable types are: - markdown

Returns

mixed
Returns an instance of the parser object that was loaded, false if the parser was not found
public string
# encode( string $parser, string $text )

Encodes a string using the given parser

Encodes a string using the given parser

Parameters

$parser
string
$parser The parser to use for encouding. Acceptable types are: - markdown
$text
string
$text The text to encode using the given parser

Returns

string
The encoded text using the given parser

Magic methods summary

Blesta API documentation generated by ApiGen 2.8.0