PHP Class Gregwar\Formidable\Parser

Author: Grégoire Passault ([email protected])
Inheritance: extends Gregwar\Formidable\ParserData
Mostrar archivo Open project: gregwar/formidable

Public Properties

Property Type Description
$fallback Default type (for untyped inputs)

Protected Properties

Property Type Description
$idx Current position in the data

Public Methods

Method Description
__construct ( $content, $factory = null, $offset )
doParseTag ( &$name, &$data ) Parses a tag
getOffset ( )

Protected Methods

Method Description
findPlaceholders ( ) Parsing second pass, finding placeholders in strings
push ( $something )

Private Methods

Method Description
parse ( string $content ) Parses the form and build Formidable objects
parseTag ( string $data ) Parses a tag

Method Details

__construct() public method

public __construct ( $content, $factory = null, $offset )

doParseTag() public method

Parses a tag
public doParseTag ( &$name, &$data )

findPlaceholders() protected method

Parsing second pass, finding placeholders in strings
protected findPlaceholders ( )

getOffset() public method

public getOffset ( )

push() protected method

protected push ( $something )

Property Details

$fallback public_oe static_oe property

Default type (for untyped inputs)
public static $fallback

$idx protected_oe property

Current position in the data
protected $idx