Index. CakePHP CakePHP
Below you will find brief information for CakePHP. This is a comprehensive guide to using the CakePHP framework. It covers topics such as installation, configuration, routing, models, views, controllers, components, helpers, and more. The manual is designed to help you learn how to use CakePHP and build your own web applications.
Advertisement
Advertisement
Index
Symbols
:action,
:controller,
:plugin,
$this->request,
$this->response,
__() (global function),
__c() (global function),
__construct() (Component method),
__d() (global function),
__dc() (global function),
__dcn() (global function),
__dn() (global function),
__n() (global function),
A acceptLanguage() (CakeRequest method),
accepts() (CakeRequest method),
accepts() (RequestHandlerComponent method),
AclBehavior (class),
AclComponent (class),
action (RssHelper property),
add() (Cache method),
add() (CacheEngine method),
addArgument() (ConsoleOptionParser method),
addArguments() (ConsoleOptionParser method),
addCrumb() (HtmlHelper method),
addDetector() (CakeRequest method),
addFormat() (CakeNumber method),
addFormat() (NumberHelper method),
addInputType() (RequestHandlerComponent method),
addOption() (ConsoleOptionParser method),
addOptions() (ConsoleOptionParser method),
addPathElement() (Folder method),
addScript() (View method),
addSubcommand() (ConsoleOptionParser method),
admin routing,
afterDelete() (ModelBehavior method),
afterFilter() (Controller method),
afterFind() (ModelBehavior method),
afterLayout() (Helper method),
afterRender() (Helper method),
afterRenderFile() (Helper method),
afterSave() (ModelBehavior method),
afterScaffoldSave() (Controller method),
afterScaffoldSaveError() (Controller method),
afterValidate() (ModelBehavior method),
ajaxLogin (AuthComponent property),
alert() (CakeLog method),
alert() (JsHelper method),
allow() (AuthComponent method),
allowedActions (AuthComponent property),
allowedActions (SecurityComponent property),
allowedControllers (SecurityComponent property),
allowMethod() (CakeRequest method),
alphaNumeric() (Validation method),
am() (global function),
App (class),
APP (global constant),
APP_DIR (global constant),
append() (File method),
append() (View method),
1091
CakePHP Cookbook Documentation, Release 2.x
appError,
APPLIBS (global constant),
application exceptions,
apply() (Hash method),
apply() (Set method),
AppShell (class),
assign() (View method),
attachments() (CakeEmail method),
AuthComponent (class),
authenticate (AuthComponent property),
authError (AuthComponent property),
authorize (AuthComponent property),
autoLink() (TextHelper method),
autoLinkEmails() (TextHelper method),
autoLinkUrls() (TextHelper method),
autoParagraph() (TextHelper method),
B
BadRequestException,
base (CakeRequest property),
base (RssHelper property),
beforeDelete() (ModelBehavior method),
beforeFilter() (Controller method),
beforeFind() (ModelBehavior method),
beforeLayout() (Helper method),
beforeRedirect() (Component method),
beforeRender() (Component method),
beforeRender() (Controller method),
beforeRender() (Helper method),
beforeRenderFile() (Helper method),
beforeSave() (ModelBehavior method),
beforeScaffold() (Controller method),
beforeValidate() (ModelBehavior method),
bindTranslation() (TranslateBehavior method),
blackHole() (SecurityComponent method),
blackHoleCallback (SecurityComponent property),
blank() (Validation method),
Blocks (View property),
blocks() (View method),
body() (CakeResponse method),
boolean() (Validation method),
buffer() (JsHelper method),
build() (App method),
build() (Xml method),
buildFromArray() (ConsoleOptionParser method),
button() (FormHelper method),
C
Cache (class),
CACHE (global constant),
cache() (CakeResponse method),
cacheAction (Controller property),
CacheEngine (class),
CacheHelper (class),
CAKE (global constant),
CAKE_CORE_INCLUDE_PATH (global constant),
CakeBaseException,
CakeEmail (class),
CakeException,
CakeLog (class),
CakeNumber (class),
CakeRequest (class),
CakeResponse (class),
CakeRoute (class),
CakeSession (class),
CakeText (class),
CakeTime (class),
camelize() (Inflector method),
cc() (Validation method),
cd() (Folder method),
channel() (RssHelper method),
charset() (CakeResponse method),
charset() (HtmlHelper method),
check() (Configure method),
check() (CookieComponent method),
check() (Hash method),
check() (SessionComponent method),
check() (SessionHelper method),
check() (Set method),
checkbox() (FormHelper method),
checkNotModified() (CakeResponse method),
childCount() (TreeBehavior method),
children() (TreeBehavior method),
chmod() (Folder method),
cipher() (Security method),
classicExtract() (Set method),
classify() (Inflector method),
cleanInsert() (CakeText method),
cleanup() (ModelBehavior method),
clear() (Cache method),
1092 Index
CakePHP Cookbook Documentation, Release 2.x
clear() (CacheEngine method),
clear() (Shell method),
clearGroup() (Cache method),
clearGroup() (CacheEngine method),
clientIp() (CakeRequest method),
close() (File method),
combine() (Hash method),
combine() (Set method),
comparison() (Validation method),
compile() (CakeRoute method),
Component (class),
components (AuthComponent property),
components (Controller property),
compress() (CakeResponse method),
config() (Cache method),
config() (CakeLog method),
config() (Configure method),
config() (global function),
ConfigReaderInterface (interface),
configuration,
Configure (class),
configured() (CakeLog method),
configured() (Configure method),
ConfigureException,
confirm() (JsHelper method),
connect() (Router method),
connectNamed() (Router method),
ConsoleOptionParser (class),
constructAuthenticate() (AuthComponent method),
constructAuthorize() (AuthComponent method),
constructClasses() (Controller method),
consume() (Configure method),
consume() (SessionComponent method),
consume() (SessionHelper method),
ContainableBehavior (class),
contains() (Hash method),
contains() (Set method),
Controller (class),
convert() (CakeTime method),
convert() (TimeHelper method),
convertSlash() (global function),
convertSpecifiers() (CakeTime method),
convertSpecifiers() (TimeHelper method),
CookieComponent (class),
copy() (File method),
copy() (Folder method),
core() (App method),
core.php,
CORE_PATH (global constant),
correctSlashFor() (Folder method),
countDim() (Set method),
counter() (PaginatorHelper method),
create() (File method),
create() (Folder method),
create() (FormHelper method),
createFile() (Shell method),
critical() (CakeLog method),
CSRF,
csrfCheck (SecurityComponent property),
csrfExpires (SecurityComponent property),
csrfUseOnce (SecurityComponent property),
CSS (global constant),
css() (HtmlHelper method),
CSS_URL (global constant),
currency() (CakeNumber method),
currency() (NumberHelper method),
current() (PaginatorHelper method),
custom() (Validation method),
D data (CakeRequest property),
data (RssHelper property),
data() (CakeRequest method),
database.php,
database.php.default,
date() (Validation method),
dateTime() (FormHelper method),
datetime() (Validation method),
DAY (global constant),
day() (FormHelper method),
dayAsSql() (CakeTime method),
dayAsSql() (TimeHelper method),
daysAsSql() (CakeTime method),
daysAsSql() (TimeHelper method),
debug() (CakeLog method),
debug() (global function),
Debugger (class),
decimal() (Validation method),
decrement() (Cache method),
decrement() (CacheEngine method),
decrypt() (Security method),
defaultCurrency() (CakeNumber method),
Index 1093
CakePHP Cookbook Documentation, Release 2.x
defaultCurrency() (NumberHelper method),
defaultLevels() (CakeLog method),
defaultModel() (PaginatorHelper method),
defaultRouteClass() (Router method),
delete() (Cache method),
delete() (CacheEngine method),
delete() (CakeSession method),
delete() (Configure method),
delete() (CookieComponent method),
delete() (File method),
delete() (Folder method),
delete() (HttpSocket method),
delete() (SessionComponent method),
deny() (AuthComponent method),
description() (ConsoleOptionParser method),
destroy() (CookieComponent method),
destroy() (SessionComponent method),
diff() (Hash method),
diff() (Set method),
dimensions() (Hash method),
dirsize() (Folder method),
disable() (CakeLog method),
disableCache() (CakeResponse method),
disableCache() (Controller method),
dispatchShell() (Shell method),
div() (HtmlHelper method),
doc (role),
docType() (HtmlHelper method),
document() (RssHelper method),
domain() (CakeRequest method),
domId() (Helper method),
domReady() (JsHelper method),
dot notation,
download() (CakeResponse method),
drag() (JsHelper method),
drop() (CakeLog method),
drop() (Configure method),
drop() (JsHelper method),
DRY,
DS (global constant),
dump() (ConfigReaderInterface method),
dump() (Configure method),
dump() (Debugger method),
E each() (JsHelper method),
effect() (JsHelper method),
elem() (RssHelper method),
element() (View method),
elementCache (View property),
email() (Validation method),
emailPattern() (CakeEmail method),
emergency() (CakeLog method),
enable() (CakeLog method),
enabled() (CakeLog method),
encrypt() (Security method),
end() (FormHelper method),
end() (View method),
enum() (Set method),
env() (global function),
epilog() (ConsoleOptionParser method),
equalTo() (Validation method),
err() (Shell method),
error() (CakeLog method),
error() (FormHelper method),
error() (SessionHelper method),
error() (Shell method),
errors() (Folder method),
etag() (CakeResponse method),
event() (JsHelper method),
ExceptionRenderer (class),
excerpt() (CakeText method),
excerpt() (Debugger method),
excerpt() (TextHelper method),
executable() (File method),
exists() (File method),
expand() (Hash method),
expires() (CakeResponse method),
exportVar() (Debugger method),
ext() (File method),
extend() (View method),
extension() (Validation method),
extract() (Hash method),
extract() (Set method),
F fetch() (View method),
field (RssHelper property),
File (class),
file extensions,
file() (CakeResponse method),
file() (FormHelper method),
fileExistsInPath() (global function),
fileSize() (Validation method),
1094 Index
CakePHP Cookbook Documentation, Release 2.x
filter() (Hash method),
filter() (Set method),
find() (Folder method),
findRecursive() (Folder method),
first() (PaginatorHelper method),
flash (AuthComponent property),
flash() (Controller method),
flash() (SessionHelper method),
FlashComponent (class),
FlashHelper (class),
flatten() (Hash method),
flatten() (Set method),
Folder (class),
Folder (File property),
Folder() (File method),
ForbiddenException,
format() (CakeNumber method),
format() (CakeTime method),
format() (Hash method),
format() (NumberHelper method),
format() (Set method),
format() (TimeHelper method),
formatDelta() (CakeNumber method),
formatDelta() (NumberHelper method),
formatTreeList() (TreeBehavior method),
FormHelper (class),
fromReadableSize() (CakeNumber method),
fromReadableSize() (NumberHelper method),
fromString() (CakeTime method),
fromString() (TimeHelper method),
FULL_BASE_URL (global constant),
fullBaseUrl() (Router method),
G gc() (Cache method),
gc() (CacheEngine method),
generateAuthKey() (Security method),
generateTreeList() (TreeBehavior method),
get() (Hash method),
get() (HttpSocket method),
get() (JsHelper method),
get() (View method),
getAjaxVersion() method),
(RequestHandlerComponent
I getBuffer() (JsHelper method),
getCrumbList() (HtmlHelper method),
getCrumbs() (HtmlHelper method),
getInstance() (Security method),
getLevel() (TreeBehavior method),
getOptionParser() (Shell method),
getParentNode() (TreeBehavior method),
getPath() (TreeBehavior method),
getType() (Debugger method),
getVar() (View method),
getVars() (View method),
gmt() (CakeTime method),
gmt() (TimeHelper method),
group() (File method),
groupConfigs() (Cache method),
H h() (global function),
handle (File property),
Hash (class),
hash() (Security method),
hasMethod() (Shell method),
hasNext() (PaginatorHelper method),
hasPage() (PaginatorHelper method),
hasPrev() (PaginatorHelper method),
hasTask() (Shell method),
header() (CakeRequest method),
header() (CakeResponse method),
Helper (class),
helpers (Controller property),
helpers (RssHelper property),
here (CakeRequest property),
here (RssHelper property),
hidden() (FormHelper method),
highlight() (CakeText method),
highlight() (TextHelper method),
host() (CakeRequest method),
HOUR (global constant),
hour() (FormHelper method),
hr() (Shell method),
HTML attributes,
HtmlHelper (class),
HttpSocket (class),
humanize() (Inflector method),
i18nFormat() (CakeTime method),
Index 1095
CakePHP Cookbook Documentation, Release 2.x
i18nFormat() (TimeHelper method),
identify() (AuthComponent method),
image() (HtmlHelper method),
IMAGES (global constant),
IMAGES_URL (global constant),
import() (App method),
in() (Shell method),
inCakePath() (Folder method),
increment() (Cache method),
increment() (CacheEngine method),
Inflector (class),
info (File property),
info() (CakeLog method),
info() (File method),
IniReader (class),
init() (App method),
initialize() (AuthComponent method),
initialize() (Component method),
initialize() (Shell method),
inList() (Validation method),
inPath() (Folder method),
input() (CakeRequest method),
input() (FormHelper method),
inputs() (FormHelper method),
insert() (CakeText method),
insert() (Hash method),
insert() (Set method),
InternalErrorException,
invoke() (Debugger method),
ip() (Validation method),
is() (CakeRequest method),
isAbsolute() (Folder method),
isAtom() (RequestHandlerComponent method),
isAuthorized() (AuthComponent method),
isFieldError() (FormHelper method),
isFuture() (CakeTime method),
isFuture() (TimeHelper method),
isMobile() (RequestHandlerComponent method),
isPast() (CakeTime method),
isPast() (TimeHelper method),
isRss() (RequestHandlerComponent method),
isSlashTerm() (Folder method),
isThisMonth() (CakeTime method),
isThisMonth() (TimeHelper method),
isThisWeek() (CakeTime method),
isThisWeek() (TimeHelper method),
isThisYear() (CakeTime method),
isThisYear() (TimeHelper method),
isToday() (CakeTime method),
isToday() (TimeHelper method),
isTomorrow() (CakeTime method),
isTomorrow() (TimeHelper method),
isWap() (RequestHandlerComponent method),
isWindowsPath() (Folder method),
isXml() (RequestHandlerComponent method),
item() (RssHelper method),
items() (RssHelper method),
J
JS (global constant),
JS_URL (global constant),
JsHelper (class),
JsonView (class),
L label() (FormHelper method),
last() (PaginatorHelper method),
lastAccess() (File method),
lastChange() (File method),
layout (View property),
lengthBetween() (Validation method),
levels() (CakeLog method),
link() (HtmlHelper method),
link() (JsHelper method),
link() (PaginatorHelper method),
listTimezones() (CakeTime method),
listTimezones() (TimeHelper method),
load() (App method),
load() (Configure method),
loadConfig() (HtmlHelper method),
loadModel() (Controller method),
loadTasks() (Shell method),
location() (App method),
location() (CakeResponse method),
lock (File property),
log() (Debugger method),
LOG_ERROR (global constant),
LogError() (global function),
loggedIn() (AuthComponent method),
login() (AuthComponent method),
loginAction (AuthComponent property),
loginRedirect (AuthComponent property),
logout() (AuthComponent method),
logoutRedirect (AuthComponent property),
LOGS (global constant),
1096 Index
CakePHP Cookbook Documentation, Release 2.x
luhn() (Validation method),
M map() (Hash method),
map() (Set method),
mapActions() (AuthComponent method),
mapResources() (Router method),
match() (CakeRoute method),
matches() (Set method),
maxDimensions() (Hash method),
maxLength() (Validation method),
md5() (File method),
media() (HtmlHelper method),
MediaView (class),
merge() (Hash method),
merge() (Set method),
mergeDiff() (Hash method),
meridian() (FormHelper method),
messages() (Folder method),
meta() (HtmlHelper method),
meta() (PaginatorHelper method),
method() (CakeRequest method),
MethodNotAllowedException,
mime() (File method),
mimeType() (Validation method),
minLength() (Validation method),
MINUTE (global constant),
minute() (FormHelper method),
MissingActionException,
MissingBehaviorException,
MissingComponentException,
MissingConnectionException,
MissingControllerException,
MissingDatabaseException,
MissingHelperException,
MissingLayoutException,
MissingShellException,
MissingShellMethodException,
MissingTableException,
MissingTaskException,
MissingViewException,
mode (Folder property),
model (RssHelper property),
ModelBehavior (class),
modified() (CakeResponse method),
money() (Validation method),
MONTH (global constant),
month() (FormHelper method),
Index
move() (Folder method),
moveDown() (TreeBehavior method),
moveUp() (TreeBehavior method),
multiple() (Validation method),
N name (Controller property),
name (File property),
name() (File method),
named parameters,
naturalNumber() (Validation method),
nest() (Hash method),
nest() (Set method),
nestedList() (HtmlHelper method),
next() (PaginatorHelper method),
nice() (CakeTime method),
nice() (TimeHelper method),
niceShort() (CakeTime method),
niceShort() (TimeHelper method),
nl() (Shell method),
normalize() (Hash method),
normalize() (Set method),
normalizePath() (Folder method),
notBlank() (Validation method),
notEmpty() (Validation method),
NotFoundException,
notice() (CakeLog method),
NotImplementedException,
NumberHelper (class),
numbers() (PaginatorHelper method),
numeric() (Hash method),
numeric() (Set method),
numeric() (Validation method),
O object() (JsHelper method),
objects() (App method),
offset() (File method),
onlyAllow() (CakeRequest method),
open() (File method),
options() (PaginatorHelper method),
out() (Shell method),
output (View property),
overwrite() (Shell method),
owner() (File method),
P paginate (Controller property),
1097
CakePHP Cookbook Documentation, Release 2.x
paginate() (Controller method),
PaginatorComponent (class),
PaginatorHelper (class),
para() (HtmlHelper method),
param() (CakeRequest method),
param() (PaginatorHelper method),
param() (Shell method),
params (CakeRequest property),
params (RssHelper property),
params() (PaginatorHelper method),
parse() (CakeRoute method),
parseExtensions() (Router method),
passed arguments,
password() (AuthComponent method),
password() (FormHelper method),
patch() (HttpSocket method),
path (File property),
path (Folder property),
path() (App method),
paths() (App method),
perms() (File method),
phone() (Validation method),
php:attr (directive),
php:attr (role),
php:class (directive),
php:class (role),
php:const (directive),
php:const (role),
php:exc (role),
php:exception (directive),
php:func (role),
php:function (directive),
php:global (directive),
php:global (role),
php:meth (role),
php:method (directive),
php:staticmethod (directive),
PhpReader (class),
plugin routing,
plugin syntax,
pluginPath() (App method),
pluginSplit() (global function),
pluralize() (Inflector method),
post() (HttpSocket method),
postal() (Validation method),
postButton() (FormHelper method),
postConditions() (Controller method),
postLink() (FormHelper method),
pr() (global function),
precision() (CakeNumber method),
precision() (NumberHelper method),
prefers() (RequestHandlerComponent method),
prefix routing,
prepare() (File method),
prepend() (View method),
prev() (PaginatorHelper method),
PrivateActionException,
promote() (Router method),
prompt() (JsHelper method),
pushDiff() (Set method),
put() (HttpSocket method),
pwd() (File method),
pwd() (Folder method),
Q query (CakeRequest property),
query() (CakeRequest method),
R radio() (FormHelper method),
range() (Validation method),
read() (Cache method),
read() (CacheEngine method),
read() (CakeSession method),
read() (ConfigReaderInterface method),
read() (Configure method),
read() (CookieComponent method),
read() (File method),
read() (Folder method),
read() (SessionComponent method),
read() (SessionHelper method),
readable() (File method),
realpath() (Folder method),
recover() (TreeBehavior method),
redirect() (AuthComponent method),
redirect() (Controller method),
redirect() (JsHelper method),
redirect() (Router method),
redirectUrl() (AuthComponent method),
reduce() (Hash method),
ref (role),
referer() (CakeRequest method),
referer() (Controller method),
remember() (Cache method),
remove() (Hash method),
remove() (Set method),
1098 Index
CakePHP Cookbook Documentation, Release 2.x
removeFromTree() (TreeBehavior method),
render() (Controller method),
renderAs() (RequestHandlerComponent method),
reorder() (TreeBehavior method),
replaceText() (File method),
request (AuthComponent property),
request (View property),
request() (HttpSocket method),
request() (JsHelper method),
requestAction() (Controller method),
RequestHandlerComponent (class),
requireAuth() (SecurityComponent method),
requireDelete() (SecurityComponent method),
requireGet() (SecurityComponent method),
requirePost() (SecurityComponent method),
requirePut() (SecurityComponent method),
requireSecure() (SecurityComponent method),
reset() (Inflector method),
respondAs() (RequestHandlerComponent method),
response (AuthComponent property),
responseHeader() (CakeBaseException method),
responseType() method),
(RequestHandlerComponent restore() (Configure method),
reverse() (Set method),
RFC
RFC 2606,
RFC 2616,
RFC 4122,
rijndael() (Security method),
ROOT (global constant),
Router (class),
routes.php,
routing array,
RssHelper (class),
rules() (Inflector method),
runCommand() (Shell method),
S safe() (File method),
scaffoldError() (Controller method),
script() (HtmlHelper method),
scriptBlock() (HtmlHelper method),
scriptEnd() (HtmlHelper method),
scriptStart() (HtmlHelper method),
SECOND (global constant),
secure() (FormHelper method),
Security (class),
SecurityComponent (class),
select() (FormHelper method),
send() (CakeResponse method),
serializeForm() (JsHelper method),
serverOffset() (CakeTime method),
serverOffset() (TimeHelper method),
SessionComponent (class),
SessionHelper (class),
sessionKey (AuthComponent property),
Set (class),
set() (Cache method),
set() (Controller method),
set() (JsHelper method),
set() (View method),
setContent() (RequestHandlerComponent method),
setExtensions() (Router method),
setFlash() (SessionComponent method),
setHash() (Security method),
setup() (ModelBehavior method),
sharable() (CakeResponse method),
Shell (class),
shortPath() (Shell method),
shutdown() (App method),
shutdown() (AuthComponent method),
shutdown() (Component method),
singularize() (Inflector method),
size() (File method),
slashTerm() (Folder method),
slider() (JsHelper method),
slug() (Inflector method),
sort (Folder property),
sort() (Hash method),
sort() (PaginatorHelper method),
sort() (Set method),
sortable() (JsHelper method),
sortByKey() (global function),
sortDir() (PaginatorHelper method),
sortKey() (PaginatorHelper method),
ssn() (Validation method),
stackTrace() (global function),
start() (View method),
startIfEmpty() (View method),
Index 1099
CakePHP Cookbook Documentation, Release 2.x
startup() (AuthComponent method),
startup() (Component method),
startup() (Shell method),
statusCode() (CakeResponse method),
store() (Configure method),
stream() (CakeLog method),
stripLinks() (CakeText method),
stripLinks() (TextHelper method),
stripslashes_deep() (global function),
style() (HtmlHelper method),
subdomains() (CakeRequest method),
submit() (FormHelper method),
submit() (JsHelper method),
T tableCells() (HtmlHelper method),
tableHeaders() (HtmlHelper method),
tableize() (Inflector method),
tag() (HtmlHelper method),
tagIsInvalid() (FormHelper method),
tail() (CakeText method),
tail() (TextHelper method),
tasks (Shell property),
TESTS (global constant),
text() (FormHelper method),
textarea() (FormHelper method),
TextHelper (class),
themePath() (App method),
time() (RssHelper method),
time() (Validation method),
TIME_START (global constant),
timeAgoInWords() (CakeTime method),
timeAgoInWords() (TimeHelper method),
TimeHelper (class),
timezone() (CakeTime method),
timezone() (TimeHelper method),
TMP (global constant),
toArray() (Xml method),
toAtom() (CakeTime method),
toAtom() (TimeHelper method),
tokenize() (CakeText method),
toList() (CakeText method),
toList() (TextHelper method),
toPercentage() (CakeNumber method),
toPercentage() (NumberHelper method),
toQuarter() (CakeTime method),
toQuarter() (TimeHelper method),
toReadableSize() (CakeNumber method),
toReadableSize() (NumberHelper method),
toRSS() (CakeTime method),
toRSS() (TimeHelper method),
toServer() (CakeTime method),
toServer() (TimeHelper method),
toUnix() (CakeTime method),
toUnix() (TimeHelper method),
trace() (Debugger method),
TranslateBehavior (class),
tree() (Folder method),
TreeBehavior (class),
truncate() (CakeText method),
truncate() (TextHelper method),
type() (CakeResponse method),
type() (CookieComponent method),
U
UnauthorizedException,
unauthorizedRedirect (AuthComponent property),
underscore() (Inflector method),
unlockedFields (SecurityComponent property),
unlockField() (FormHelper method),
uploadError() (Validation method),
url() (Helper method),
url() (HtmlHelper method),
url() (PaginatorHelper method),
url() (Router method),
url() (Validation method),
user() (AuthComponent method),
userDefined() (Validation method),
uses (Controller property),
uses (Shell property),
uses() (App method),
useTag() (HtmlHelper method),
uuid() (CakeText method),
uuid() (Validation method),
uuid() (View method),
V valid() (SessionHelper method),
validateAuthKey() (Security method),
validatePost (SecurityComponent property),
Validation (class),
1100 Index
CakePHP Cookbook Documentation, Release 2.x
ValidationisUnique() (ModelValidation method),
value() (Helper method),
value() (JsHelper method),
variable() (Inflector method),
VENDORS (global constant),
verify() (TreeBehavior method),
version (RssHelper property),
version() (Configure method),
View (class),
viewClassMap() method),
(RequestHandlerComponent
W warning() (CakeLog method),
wasWithinLast() (CakeTime method),
wasWithinLast() (TimeHelper method),
wasYesterday() (CakeTime method),
wasYesterday() (TimeHelper method),
webroot (CakeRequest property),
webroot() (Helper method),
WEBROOT_DIR (global constant),
WEEK (global constant),
wrap() (CakeText method),
wrapText() (Shell method),
writable() (File method),
write() (Cache method),
write() (CacheEngine method),
write() (CakeLog method),
write() (CakeSession method),
write() (Configure method),
write() (CookieComponent method),
write() (File method),
write() (SessionComponent method),
writeBuffer() (JsHelper method),
WWW_ROOT (global constant),
X
Xml (class),
XmlView (class),
Y
YEAR (global constant),
year() (FormHelper method),
Index 1101
Download
Advertisement
Key features
MVC architecture
Database interaction
Form validation
URL routing
Template engine
Security features
Extensible framework
Large community support
Easy to learn and use
Frequently asked questions
CakePHP is a free, open-source PHP framework that provides a structured approach to web development. It follows the MVC (Model-View-Controller) design pattern, which helps to separate the presentation layer from the business logic layer. This separation makes it easier to maintain and extend your applications.
CakePHP offers several advantages over traditional PHP development. It provides a number of tools and features that make development faster and easier, including automatic code generation, database abstraction, form validation, security features, and more. It’s also very well-documented and has a large, active community.
To get started with CakePHP, you will need to download and install the framework, then configure it to connect to your database. Once you have completed these steps, you can start to create your first CakePHP application.