Inheritance diagram for IniGroups:


Public Member Functions | |
| __construct ($file) | |
| accept () | |
| current () | |
| getRegex () | |
| key () | |
Protected Member Functions | |
| __clone () | |
This class uses a 'is-a' relation to KeyFilter in contrast to a 'has-a' relation. Doing so both current() and key() methods must be overwritten. If it would use a 'has-a' relation there would be much more to type... but for puritists that would allow correctness in so far as then no key() would be needed.
Definition at line 28 of file inigroups.inc.
| IniGroups::__construct | ( | $ | file | ) |
Construct an ini file group iterator from a filename.
| file | Ini file to open. |
Definition at line 35 of file inigroups.inc.
00035 { 00036 parent::__construct(new DbaReader($file, 'inifile'), '^\[.*\]$'); 00037 }
| KeyFilter::__clone | ( | ) | [protected, inherited] |
| KeyFilter::accept | ( | ) | [inherited] |
Definition at line 43 of file keyfilter.inc.
| IniGroups::current | ( | ) |
| KeyFilter::getRegex | ( | ) | [inherited] |
| IniGroups::key | ( | ) |
1.5.2