Alexander Makarov
409500000a
Validation reference, validators phpdoc fixes
11 years ago
Qiang Xue
a9991d4e91
CRUD WIP
11 years ago
Alexander Makarov
6d25d3aef6
Added info about custom validator method signature to Model::rules phpdoc
11 years ago
Carsten Brandt
23b858a2cc
removed comments
11 years ago
Carsten Brandt
164c70eebc
Add support for composite FK to cubrid
11 years ago
Carsten Brandt
8abeed03bd
added SchemaTest
11 years ago
Qiang Xue
95c2674609
hint fix.
11 years ago
Qiang Xue
4e1ab6e5a5
Fixes #848 : Added hidden field for Html::activeFileInput().
11 years ago
Carsten Brandt
e996f3dfd5
Workaround for broken PDO::quote() in CUBRID 9.1.0
...
http://jira.cubrid.org/browse/APIS-658
11 years ago
Carsten Brandt
791f9d3f4e
better use int for boolean representation
...
bit has special syntax for storing and retreiving so we'd need a
converter for that.
Storing 1 bit will result in one byte left padded on the disc so the
result of a query for boolean 0 will be 0x00 and for boolean 1 will be
0x80.
11 years ago
Carsten Brandt
c6ef7ec9d5
moved Command::getPdoType() to Schema
...
this allows different implementation in different DBMS
CUBRID does not supprt PDO::TYPE_BOOL, so we use STRING here which will
be casted by the DBMS
11 years ago
Qiang Xue
b16bf0691a
fixed typo
11 years ago
Qiang Xue
fccd8185b5
Enhanced the default implementation of Model::scenarios() to return all scenarios found in rules().
11 years ago
Carsten Brandt
2387d00341
CUBRID added exception about wrong implementation of quoteValue
11 years ago
Carsten Brandt
57a91c842a
CUBRID Query builder
11 years ago
Carsten Brandt
f4fb2d94ef
finalizing cubrid Schema
11 years ago
Carsten Brandt
be67559fe1
added CUBIRD DB Schema class
11 years ago
Carsten Brandt
267f2d7849
fixed docs in db Schema classes
11 years ago
Qiang Xue
326e98a41c
doc fix.
11 years ago
Carsten Brandt
8976b7cbd8
moved MSSQL specific property to mssql TableSchema
11 years ago
Carsten Brandt
d4995ddc57
updated php doc
11 years ago
Carsten Brandt
c306fccd46
fixed FileValidator after UploadedFile refactoring
...
fixes #845
11 years ago
Qiang Xue
b77ea4dcb0
Allow generator to define actions.
11 years ago
Carsten Brandt
8c753676db
Exception about missing class in class file only when YII_DEBUG
...
See discussion about exceptions in autoloader here:
https://groups.google.com/forum/?fromgroups#!topic/php-fig/kRTVRSIJ0qE
11 years ago
Qiang Xue
7f4e02cb45
crud generator WIP
11 years ago
Qiang Xue
3f2e7fa604
crud wip
11 years ago
Carsten Brandt
38dab3490a
Fixed type of db\Exception::$errorInfo
...
type is array in PHP documentation
11 years ago
Carsten Brandt
9a4d7ff15b
Exception message when getting write-only property
11 years ago
Carsten Brandt
7fa81949bf
various documentation changes
11 years ago
Qiang Xue
ea10868824
Removed Yii::import().
11 years ago
Carsten Brandt
7a6ce8251a
simplified method check in Component::__call()
11 years ago
Qiang Xue
afd0472784
Fixes #837 : turn private variables into public ones.
11 years ago
Qiang Xue
f87e4ce604
automatically hide model class input if needed.
11 years ago
Carsten Brandt
15a3ec2764
added unit tests and call to $behavior->hasMethod in Component
11 years ago
Carsten Brandt
7a55640670
Added hasMethod() to Component and Object class
...
this allows implementing __call() in behaviors
See this forum topic for details:
http://www.yiiframework.com/forum/index.php/topic/46629-invoke-behavior-method-through-php-magic-method-call-dosent-work/
11 years ago
Carsten Brandt
f83fcc553c
fixed return value of Component::can*Property
...
return false, not null
11 years ago
Qiang Xue
947a557240
Reverted changeset 595ac6d0be
11 years ago
Qiang Xue
595ac6d0be
Fixes #833 : added charset to json response.
11 years ago
Carsten Brandt
4d84e09479
typo in query builder, fixes #832
11 years ago
Carsten Brandt
4b7f5a728a
improved control over and handling of file and dir permissions
...
- rename FileHelper::mkdir for API consistency
- changed default permission for directories to 775 instead of 777
- added some properties to classes that deal with files to allow control
over directory permissions.
11 years ago
Alexander Makarov
e1a6aacba8
Fixes #829 : loginRequired now responds with HTTP 403 in case of AJAX or loginUrl is not set (reverted from commit c2c12a9049
)
11 years ago
Philipp Frenzel
e94b455535
add missing return to module template
...
I think according to the framework it should return the render and otherwise the browser will stay blank...
11 years ago
Philipp Frenzel
70d263d66e
Update module.php
...
module should extend \yii\base\Module as \yii\web\Module doesn't exist...
If this is outdated, then pls just ignore it!
11 years ago
Alexander Makarov
c2c12a9049
Fixes #829 : loginRequired now responds with HTTP 403 in case of AJAX or loginUrl is not set
11 years ago
Qiang Xue
2ecdfd6225
gii form width adjustment.
11 years ago
Qiang Xue
cb60fa5ddd
Make sure query cloning works as expected.
11 years ago
Qiang Xue
6dba4da3ed
Fixes #828 : refactored QueryBuilder::build()
11 years ago
Carsten Brandt
147558ea19
added some class documentation
11 years ago
Carsten Brandt
91c16782ef
finalized PhpDocController
...
- cleanup API and usage, add documetation link
- introduced @property feature in getter or setter which has precedence
over @return or @param tag if present
11 years ago
Carsten Brandt
1d622b65c3
fixed docs about error methods in Model
11 years ago