tailieunhanh - OBJECT-ORIENTED PHP Concepts, Techniques, and Code- P21
OBJECT-ORIENTED PHP Concepts, Techniques, and Code- P21:A number of years ago, before I started using PHP, I created dynamic web pages using C. This really wasn’t too different from some of the other options available at the time, though it seems almost unthinkable now. Creating a dynamic page meant outputting HTML from your script and recompiling that script if any changes needed to be made. | createFunction SQLiteDatabase method 155-156 supported under PDO 159 createMethodArrays Documenter class method 131 132 CSS Cascading Style Sheet 58-60 154 155 class name 50 and configuring HTML components 48 and reusability 57 58 used to configure components 54 56 current iterator method 86 D data hiding 112 integrity 26 28 43 members 19 direct access to 27 protection 12 42 Data Source Name DSN . See DSN data type after assignment 94 database abstraction 157 158 159 164 classes 13 connection reusing 68 queries 63 DATE SQL function 144 date function 135 136 date_default_timezone_set function 154 datestamp field mimicking 141 debugging the ThumbnailImage class 45 and undefined data members 113 default parameter used with the constructor 30 values for data members upon declaration 38 and order of method parameters to PageNavigator 73 define function 60 deprecated coding styles 167 functions 129 133 derived class 8 9 76 77 design patterns 96 __destruct magic method 41 111 170 destructor 41 freeing resources 41 magic method 41 die function 19 20 22 replaced 79 82 direct access to data members 26 DirectoryItems method getArraySlice 58 62 64 DirectoryIterator class 89 displaying objects using _toString 78 document element of an RSS file 101 Document Object Model DOM . See DOM documentation of built-in classes 126 external 126 internal 126 Documenter class formatting comments for 136 methods __construct 132 createDataMemberArrays 132 createMethodArrays 131 132 getConstants 137 getDocComment 128 135 136 getFullDescription 130 131 135 getName 135 getPublicMethods 131 132 DOM Document Object Model 103 rewritten 13 double underscore to denote magic method 28 DSN Data Source Name for an SQLite database 159 dynamic method calling statically 96 INDEX 181 E Eckel Bruce 27 empty function 161 encapsulation 12 19 112 113 122 erratic behavior of a class 52 error handling. See error trapping message with the ThumbnailImage class 45 trapping 13 75-76 79 83 error reporting .
đang nạp các trang xem trước