Professional CodeIgniter, Thomas Myer
311
Index
product home page, 169
user home page, 180
user home page, 180
index.php, 47
home page values, 50
Inflector helper, functions of, 61
Input and Security library,
Input and Security library,
functions of, 54
insert, 58, 265
intval, 270
intval, 270
J
JavaScript
compatibility, checking,
305306
Shopping Cart, 117118,
122123
jsRemoveProduct, 122123
jsUpdateCart, 117, 123
jsUpdateCart, 117, 123
L
language folder, contents of, 48
Language library, functions of, 54
libraries, 5360
Language library, functions of, 54
libraries, 5360
autoloading, 52
CVSReader library, 197204
Database library, 5559
folders, contents of, 48
functions of, 53
libraries folders, contents of, 49
listing of, 5455
loading, 198
rules for use, 198
Session library, 5960
CVSReader library, 197204
Database library, 5559
folders, contents of, 48
functions of, 53
libraries folders, contents of, 49
listing of, 5455
loading, 198
rules for use, 198
Session library, 5960
license agreement, 47
like, 58
line breaks, converted to HTML
like, 58
line breaks, converted to HTML
tags, 2021
link(s)
add to cart, 137138
color for, 136
in footer files, 74
in header files, 73
portable links, creating, 63
color for, 136
in footer files, 74
in header files, 73
portable links, creating, 63
list_fields, 280
Loader library, functions of, 54
login, 149153
Loader library, functions of, 54
login, 149153
admin database for, 149150
model, connecting to,
model, connecting to,
150151
verify function, 151
view, 151152
view, 151152
logo, uploading, 127
logout, 158
logout function, administrative
logout, 158
logout function, administrative
dashboard, 159160
logs folder, contents of, 48
M
magic_quotes_runtime directive,
268
master template, creating, 7274
memory_usage, 291
message class, creating, 112
mockups, examples of, 3034
mod_rewrite, 48
model(s)
memory_usage, 291
message class, creating, 112
mockups, examples of, 3034
mod_rewrite, 48
model(s)
adding functions to, 1315
autoloading, 53, 67
CakePHP, 1011
categories model, 6566
colors model, 211
functions of, 56, 13
methods, accessing, 15
models folder, contents of, 49
naming, 65
newsletter tool, 251
page manager, 238240
products model, 67
sizes model, 212
structure of, 1314
autoloading, 53, 67
CakePHP, 1011
categories model, 6566
colors model, 211
functions of, 56, 13
methods, accessing, 15
models folder, contents of, 49
naming, 65
newsletter tool, 251
page manager, 238240
products model, 67
sizes model, 212
structure of, 1314
Model-View-Controller (MVC)
benefits to use, 67
controller in, 56
development of, 79
frameworks. See CakePHP;
controller in, 56
development of, 79
frameworks. See CakePHP;
CodeIgniter; Symfony
models in, 56
compared to PHP, 45
views in, 56
compared to PHP, 45
views in, 56
MVC. See Model-View-Controller
(MVC)
N
n12br, 2021
navigation
navigation
category navigation file,
creating, 74
color, links, 136
global navigation, updating,
130132
navigation.php, 74
side navigation, updating,
side navigation, updating,
133137
newsletter tool, 250265
controller, simple, 254
duplicate email addresses,
duplicate email addresses,
removing, 265
form for, 253254
model for, 251
navigation, updating, 256257
send e-mail function, 257258
subject line/message of email,
model for, 251
navigation, updating, 256257
send e-mail function, 257258
subject line/message of email,
storing, 262264
subscribe function, 251253
subscriber home page view,
subscriber home page view,
255256
table for, 251
TinyMCE editor, 259260
unsubscribe function, 261262
WYSIWYG editor, 259260
TinyMCE editor, 259260
unsubscribe function, 261262
WYSIWYG editor, 259260
num_rows, 14, 56
number_format, 300, 306
number_format, 300, 306
O
order by rand, 82
orders, security, 276, 303
output, compression, 287288
Output library, functions of, 54
orders, security, 276, 303
output, compression, 287288
Output library, functions of, 54
P
p_id, 192
page manager, 237250
page manager, 237250
administrative views, 242243
admin/pages controller,
admin/pages controller,
240241
create page view, 244246
edit page view, 246247
home page view, 243244
model for, 238240
table for, 237
Welcome controller, updating,
edit page view, 246247
home page view, 243244
model for, 238240
table for, 237
Welcome controller, updating,
249250
WYSIWYG editor, 248
pages, 249
Pagination library, functions
Pagination library, functions
of, 54
parseFile, 199, 280
parseFile
bindex.indd 311
bindex.indd 311
6/10/08 5:27:41 PM
6/10/08 5:27:41 PM