25.09.2014 Views

ZEND PHP 5 Certification STUDY GUIDE

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

INDEX ” 261<br />

security, 227<br />

table, 142, 146<br />

transactions, 154<br />

update, 149<br />

using the ActiveRecord design pattern to interact<br />

with, 176<br />

database connections<br />

using the Registry design pattern to manage,<br />

174<br />

using the Singleton design pattern to manage,<br />

172<br />

decrementing<br />

operator, 16<br />

define(), 14, 124<br />

design patterns, 171<br />

ActiveRecord, 176<br />

Factory, 39, 173<br />

examples, 173<br />

Model-View-Controller, 175<br />

components, 175<br />

goals, 175<br />

Registry, 174<br />

Singleton, 172<br />

singleton<br />

use with database connections, 172<br />

theory, 171<br />

die(), 8<br />

directories, see streams<br />

disable_classes, 233<br />

disable_functions, 233<br />

display_errors, 33, 34<br />

division<br />

operator, 16<br />

do...while(), 29<br />

Document Object Model, see DOM<br />

Document Type Declaration, see DTD<br />

DOM, 197<br />

accessing elements, 199<br />

and XPath, 199<br />

attributes<br />

changing, 201<br />

removing, 203<br />

documents<br />

identifying the root element, 201<br />

loading, 198<br />

modifying, 200<br />

modifying data, 202<br />

saving, 198<br />

saving as HTML, 198<br />

elements<br />

adding, 201<br />

appending, 201<br />

moving, 201<br />

removing, 203<br />

interfacing with SimpleXML, 205<br />

root element, 201<br />

working with namespaces, 200, 204<br />

dom_import_simplexml(), 205<br />

DomCharacterData<br />

deleteData(), 203<br />

DomDocument<br />

and XPath, 199<br />

createElement(), 200<br />

createElementNS(), 200, 204<br />

createTextNode(), 200<br />

documentElement, 201<br />

loadHTML(), 198<br />

loadHTMLFile(), 198<br />

save(), 198<br />

saveHTML(), 198<br />

saveHTMLFile(), 198<br />

saveXML(), 198<br />

DomElement, 200<br />

appendChild(), 201<br />

setAttribute(), 201<br />

DomNode<br />

appendChild(), 201<br />

insertBefore(), 201<br />

Licensed to 482634 - Amber Barrow (itsadmin@deakin.edu.au)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!