PHP Class Gregwar\Formidable\Parser

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

Méthodes publiques

Свойство Type Description
$fallback Default type (for untyped inputs)

Protected Properties

Свойство Type Description
$idx Current position in the data

Méthodes publiques

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

Méthodes protégées

Méthode Description
findPlaceholders ( ) Parsing second pass, finding placeholders in strings
push ( $something )

Private Methods

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

Method Details

__construct() public méthode

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

doParseTag() public méthode

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

findPlaceholders() protected méthode

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

getOffset() public méthode

public getOffset ( )

push() protected méthode

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