Property | Type | Description | |
---|---|---|---|
$current | integer | Internal pointer to the fragments array. | |
$file | string | Path to the parsed PO file. | |
$header | string | PO file header (copyright and other information). | |
$headerClass | string | Useful for subclassing. | |
$itemClass | string | Useful for subclassing. | |
$items | Fragments parsed from the PO file. |
Method | Description | |
---|---|---|
__call ( string $name, array $args ) : mixed | Method overloading. | |
__construct ( string $file ) | Constructor. | |
count ( ) : integer | {@link \Countable} interface method | |
current ( ) : mixed | {@link \ArrayIterator} interface method. | |
key ( ) : mixed | {@link \ArrayIterator} interface method. | |
next ( ) | {@link \ArrayIterator} interface method. | |
rewind ( ) | {@link \ArrayIterator} interface method. | |
valid ( ) : boolean | {@link \ArrayIterator} interface method. |
Method | Description | |
---|---|---|
parse ( string $file ) | The actual parser. |
public __construct ( string $file ) | ||
$file | string | Path to the PO file. |
protected int $current | ||
return | integer |
protected string $header | ||
return | string |
protected string $headerClass | ||
return | string |