PHP Objects, Patterns and Practice (3rd edition)

(Barry) #1

■ INDEX


■ J
Java and object-oriented design, 4
Johnson, Ralph, 125
joinExisting(), 177
JUnit, 5, 382


■ K
keywords
abstract, 45
class, 15
clone, 63, 162, 165
const, 44
extends, 32
final, 57
function, 19
implements, 47–48
interface, 47
namespace, 73, 75
parent, 33, 35, 42
private, 17
protected, 17
public, 17
self, 42, 49
static, 41, 49
throw, 53
try, 54
use, 74
var, 17, 35
visibility keyword, definition of, 17


■ L
LaserCannonUnit class, 170
late static bindings, 49
Lazy Load pattern
code in SpaceMapper that acquires Event
data, 296
createObject(), 298
DeferredEventCollection class, code listing,
297
deferring acquisition of a property until
requested, 297
doCreateObject(), 296
execute(), 298
fetch(), 298
findBySpaceId(), 296
implementing, 297


notifyAccess(), 298
lead element, 335
Lerdorf, Rasmus, 5, 11
Lesson class
class diagram, 132
code listing, 133
simplified version, code listing, 135
libxml_get_last_error(), 55
LibXmlError class, 55
license element, 336
@license tag, 353
@link tag, 358
list (ls) command, 364
Log package, installing using PEAR or Pyrus,
326
Logger class, 203
Login class, 203–204
LoginCommand class, 217
LoginObserver class, 206
LogRequest class, 180

■ M
magic methods, 62
Mailman, 460
MailNotifier class, 140
mailport element, 447
main task, 413
MainProcess class, 183
make, using as a build solution for PHP
projects, 407
make(), 161
make-package target, 448
Mapper class, 295
mark(), 199
markClean(), 295
markDirty(), 272, 295
Marker objects, code listing, 200
MarkLogic
defining subclasses, 198
grammar elements, table of, 190
interpreter, 467
MarkLogicMarker class, 202
markNew(), 294
MarkParse class, code listing, 482
matcher methods, table of, 390
max element, 339
MDB2 package, 138
Free download pdf