Professional CodeIgniter, Thomas Myer
310
footer files
for administrative panel, 155
creating, 74
links in, 74
creating, 74
links in, 74
force_download, 61, 195, 197
form(s)
form(s)
for batch mode process,
189194
dropdowns, 62
email, send to all users,
email, send to all users,
257260
fields, adding, 62
Form helper, 6163
header files, creating, 73
newsletter tool, 253254
opening, 62
Submit button, 63
Form helper, 6163
header files, creating, 73
newsletter tool, 253254
opening, 62
Submit button, 63
form_checkbox, 62
form_close, 63, 73, 173
form_hidden, 62
form_input, 62, 63, 114, 164
form_open, 62, 73
form_open_multipart, 172
form_password, 62
form_radio, 62
form_submit, 63, 73, 164, 173
form_textarea, 62
form_upload, 62, 173
format_currency, 300
from, 58
FTP library, functions of, 54
form_close, 63, 73, 173
form_hidden, 62
form_input, 62, 63, 114, 164
form_open, 62, 73
form_open_multipart, 172
form_password, 62
form_radio, 62
form_submit, 63, 73, 164, 173
form_textarea, 62
form_upload, 62, 173
format_currency, 300
from, 58
FTP library, functions of, 54
G
getActiveColors, 215, 225
getActiveSizes, 225
getAllCategories, 7879, 161
getAllColors, 213214
getAllPages, 239240, 243
getAllProducts, 82
getAllSubscribers, 260
getAllUsers, 180
GET array, 268
getAssignedColors, 227
getAssignedSizes, 227228
getCategorieDropDown, 171
getCategoriesNav, 7980,
getActiveSizes, 225
getAllCategories, 7879, 161
getAllColors, 213214
getAllPages, 239240, 243
getAllProducts, 82
getAllSubscribers, 260
getAllUsers, 180
GET array, 268
getAssignedColors, 227
getAssignedSizes, 227228
getCategorieDropDown, 171
getCategoriesNav, 7980,
8990, 133
getCategory, 91
getColor, 213214, 275
getMainFeature, 8283
getPage, 238, 277
getColor, 213214, 275
getMainFeature, 8283
getPage, 238, 277
getPagePath, 238, 277
getProduct, 82, 100, 277, 282
getProductsByGroup, 99
getRandomProduct, 8283
getSubCategories, 92, 95
getTopCategories, 162163,
getProduct, 82, 100, 277, 282
getProductsByGroup, 99
getRandomProduct, 8283
getSubCategories, 92, 95
getTopCategories, 162163,
166
getUser, 269
getwhere, 14
global navigation
getwhere, 14
global navigation
global navigation, updating,
130132
rules, setting, 131132
Google Checkout
checkout integration with, 297,
301303
security safeguards, 303
grouping, products, 98
H
header files
for administrative panel, 155
creating, 73
CSS, updating, 130133
forms, 73
links in, 73
page manager, 242
for thumbnails, 138
creating, 73
CSS, updating, 130133
forms, 73
links in, 73
page manager, 242
for thumbnails, 138
helpers, 6064
autoloading, 52, 60
Form helper, 6263
functions of, 60, 61
helpers folder, contents of, 48
listing of, 6061
compared to plugins, 49
URL helper, 6364
Form helper, 6263
functions of, 60, 61
helpers folder, contents of, 48
listing of, 6061
compared to plugins, 49
URL helper, 6364
home page(s), 8192
accessing, events of, 6970
for administrative panel,
for administrative panel,
153160
categories home page,
160161
components of, 6970
detecting home page, 130
fetchHomePage, 14, 15, 17
index, 15
main feature product, 82
mockups, 31, 81
model functions, using, 8485
new model functions, creating, 92
page manager, 243244
detecting home page, 130
fetchHomePage, 14, 15, 17
index, 15
main feature product, 82
mockups, 31, 81
model functions, using, 8485
new model functions, creating, 92
page manager, 243244
product categories, displaying,
8992
redirect back to, 93
sidebar, random products in,
sidebar, random products in,
8384
thumbnails, updating, 139
user home page, 180
values, setting, 50
view, creating, 8588
user home page, 180
values, setting, 50
view, creating, 8588
hooks folder, contents of, 49
hover state, color for, 136
.htaccess file, 4748
HTML
hover state, color for, 136
.htaccess file, 4748
HTML
display table, creating, 114
HTML helper, functions of, 61
HTML library, functions of, 54
tags, line breaks converted to,
HTML helper, functions of, 61
HTML library, functions of, 54
tags, line breaks converted to,
2021
views, 16
I
ID
admins table, 150152
category ID, 9192,
category ID, 9192,
192193, 206
database tables, 251
product ID, 100, 109111,
product ID, 100, 109111,
117118, 122123, 192
id_clean, 270, 276, 282, 298
Image Manipulation library,
Image Manipulation library,
functions of, 54
implode, 193
import, 200203, 280
importCsv, 199200, 280
importing/exporting, 194204
import, 200203, 280
importCsv, 199200, 280
importing/exporting, 194204
categories export function,
194196
comma-separated values (CSV),
194196
CSVReader import library,
installing, 197204
products export function,
196197
in_array, 281
index
index
for administrative panel, 153
category home page, 160162
colors admin screen, 212
controller, creating for, 69
home page, 15
parser library, loading, 19
category home page, 160162
colors admin screen, 212
controller, creating for, 69
home page, 15
parser library, loading, 19
footer fi les
bindex.indd 310
bindex.indd 310
6/10/08 5:27:41 PM
6/10/08 5:27:41 PM