PHP Objects, Patterns and Practice (3rd edition)

(Barry) #1
■ INDEX

getApptEncoder(), 153, 156


getBacktrace(), table of elements, 331
getCause(), 332–333
getClass(), 93, 96
getClassSource(), 91
getCode(), 331
getCollection(), 284, 286, 294, 300
getCommand(), 240, 253
getComposite(), 176–177
getComps(), 310
getContact(), 160


getDepth(), 211
getEndLine(), 91, 93
getErrorClass(), 332
getErrorData(), 332
getErrorMethod(), 332
getFileName(), 91, 93
getFinder(), 284, 294
getForward(), 253
getFromMap(), 291, 300
getGroup(), 50


getHeaderText(), code listing, 154
getInstance(), 43–44, 102, 104, 149, 151
getKey(), 192–194
getMessage(), 331
getMethod(), 91, 93
getMethods(), 91, 96
getMock(), 389
getName(), 90, 93
getNotifier(), 140


getOptions(), 239, 249
getParameters(), 93
getPlayLength(), 47
getPrice(), 48
getReport(), 215
getRequest(), 227
getResource(), 253
getRow(), 282
getSpaces(), 285, 287
getStartLine(), 91, 93


getState(), 472
getStatus(), 206, 255
getTax(), 215
getTrace(), 53
getTraceAsString(), 53
getTypeString(), 473
getUser(), 381, 393


getVenueMapper(), 278
getView(), 253
getWealthFactor(), 179, 182
Git, 362, 459
global variables, 454
comparing to the Singleton pattern, 152
naming collisions and, 149
problems caused by, 149
using correctly, 109
globalKey(), 290
good mail(), 319
groupadd command, 363
Gutmans, Andi, 5, 11

■ H
handleLogin(), 203
handleMatch(), 476, 485
handleMethod(), 96
handleRequest(), 237, 395
Helm, Richard, 125
HelperFactory class, 284
hinted return types, 14, 156
hinting for primitive types, 453
.htaccess, 337
htmlemail publisher, 447
httpd.conf, 79
Hunt, Andrew, 5, 104
Hunt, David, 226

■ I
id attribute, 417
identifiers, 16
Identity Map
add(), 290
addToMap(), 291
code listing, 289
createObject(), 291
data corruption engendered by concurrent
access, 291
definition of, 289
exists(), 290
find(), 291
getFromMap(), 291
globalKey(), 290
integrating with other classes, illustration
of, 289
Free download pdf