phpLDAPadmin
[ class tree: phpLDAPadmin ] [ index: phpLDAPadmin ] [ all elements ]

Class: Reader

Source Location: /lib/ldif_functions.php

Class Overview


Helper base class to read file.


Methods


Child classes:

FileReader
Helper base class to read file.
LdifReaderStdIn
Helper base class to read file.

Class Details

[line 573]
Helper base class to read file.



[ Top ]


Class Methods


method fetchEntryArray [line 700]

void fetchEntryArray( )

Return the current entry as an array



[ Top ]

method fetchEntryObject [line 692]

Ldap_Ldif_entry fetchEntryObject( )

Return the current entry as an object



Tags:

return:  the current ldif entry


[ Top ]

method fetchEntryRaw [line 707]

String[] fetchEntryRaw( )

Return the entry as it is.



Tags:

return:  The lines from the entry.


[ Top ]

method getCurrentLines [line 664]

String[] getCurrentLines( )

Returns the lines that generated the Ldif Entry.



Tags:

return:  The lines from the entry.


[ Top ]

method getLdapLdifReaderException [line 804]

Ldap_ldifReaderException getLdapLdifReaderException( )

Return the exception raised during processing the file



[ Top ]

method getWarningMessage [line 629]

void getWarningMessage( )



[ Top ]

method hasRaisedException [line 818]

void hasRaisedException( )



[ Top ]

method hasVersionNumber [line 603]

true hasVersionNumber( )

Check if the ldif version is present in the ldif



Tags:

return:  if a version line was found,false otherwise


[ Top ]

method nextLines [line 716]

String[] nextLines( )

Get the lines of the next entry



Tags:

return:  the lines (unfolded) of the next entry


[ Top ]

method readEntry [line 827]

LdifEntry readEntry( )

Return a ldif entry object



Tags:

return:  the entry object buid from the lines of the ldif file


[ Top ]

method setLdapLdifReaderException [line 790]

void setLdapLdifReaderException( Ldap_LdifReaderException $ldifReaderException)

Associate the ldif reader with a exception which occurs during proceesing the file.

Easier to do exception if we had to switch to php5




Parameters:

Ldap_LdifReaderException   $ldifReaderException  

[ Top ]

method _hasMoreEntries [line 765]

boolean _hasMoreEntries( )

Private method to check if there is more entries in the file



Tags:

return:  true if an entry was found, false otherwise.


[ Top ]

method _isBlankLine [line 638]

bool _isBlankLine( )

Check if is the current line is a blank line.



Tags:

return:  if it is a blank line,false otherwise.


[ Top ]

method _isCommentLine [line 673]

bool _isCommentLine( )

Check if it's a ldif comment line.



Tags:

return:  true if it's a comment line,false otherwise


[ Top ]

method _isDnLine [line 683]

bool _isDnLine( )

Check if the current line is a line containing the distinguished name of an entry.



Tags:

return:  true if the line contains a dn line, false otherwise.


[ Top ]

method _ldifHasError [line 814]

true _ldifHasError( )

Helper method which return the value of the instance member $_error



Tags:

return:  if an error was encountered, false otherwise


[ Top ]

method _LdifReader [line 648]

void _LdifReader( )

Private constructor of the LDIFReader class.

Marked as private as we need to instantiate the class by using other constructor with parameters Use to initialize instance members.




[ Top ]


Documentation generated on Sun, 30 Dec 2007 17:50:18 -0800 by phpDocumentor 1.3.1