Prev
Summary information
ExcelExplorer Manual Next
List of all available classes

III. Class Reference
 
12. List of all available classes
13. Class hierarchy
14. ExcelExplorer class
15. EEWorksheet class
16. EEColumn class
17. EERow class
18. EECell class
19. EEData class
20. EEDataRichText class
21. EEDataPhonetic class
22. EEStyle class
23. EEFont class
24. EEFormat class
25. EEColor class
26. EEAlign class
27. EEBorders class
28. EEBorder class
29. EEArea class
30. EELink class
31. EEImage class
32. EEShape class
33. EEHelper class

This section contains detailed information about individual classes.

NOTES

  • In all examples used the following assumptions: $ee - object, created instance of ExcelExplorer class and Excel file successfully readed using ExploreFile() or ExploreString() functions (description of these methods also contains detailed information of all available options and how to use it).
  • If method not marked with any sign you can assume than it will always returns valid object/value.
  • Methods marked with false can returns FALSE instead of valid objects when specific data not available (not defined in Excel file, file corrupted, etc.) or corresponding option is set to FALSE. For instance, setting read_border to FALSE will cause EEStyle->Borders() always returns FALSE instead of valid EEBorders object. You should always check returning value of this methods before using it as objects. Marks used only for methods which returns objects in order to easily understands when PHP5 ability to call $obj->method1()->method2() can be used and when you must check what returns $obj->method1() before calling method2().
  • If read_only_sheets_info option is set to TRUE then ony worksheet-related methods can be used.
  • More detailed information you can find in method description.

The following examples helps you understand how to write correct code.

1. For non-marked methods:

$ee = new ExcelExplorer();
// ... some code
print $ee->Cell($sheet,$col,$row)->Data()->UTF8();

2. For methods marked with false:

$ee = new ExcelExplorer();
// ... some code
if( $font = $ee->Cell($sheet,$col,$row)->Style()->Font() ) {
    print $font->Name()->UTF8();
}

 
Prev
Summary information
Home
Next
List of all available classes

 
© 2002-2009 EEPHP.com
All Rights Reserved.