Carsten Brandt
164c70eebc
Add support for composite FK to cubrid
11 years ago
Carsten Brandt
8abeed03bd
added SchemaTest
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
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
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
Carsten Brandt
c582e589d2
added note about differing property types
11 years ago
Carsten Brandt
ca69ef09d4
update of @property annotations
11 years ago
Carsten Brandt
bdb77f33ba
updated @property annotations of many classes
11 years ago
Qiang Xue
172d92958f
refactored code.
11 years ago
Carsten Brandt
14181b2be0
Update PHPDoc command to update classfiles automatically
11 years ago
Carsten Brandt
427c373ba6
implement Cache::exists() for various cache backends
...
fixes #811
11 years ago
Carsten Brandt
3b91801a35
cherry picked RedisCache and redis\Connection from redis WIP branch
...
commit in redis branch was:
0cd65e7496
11 years ago
Carsten Brandt
0e2ac86566
added Cache::exists() to check key existance in cache
11 years ago
Qiang Xue
d34f8486ab
Fixes #811 .
11 years ago
Qiang Xue
f941bfee60
Fixes #820 .
11 years ago
Qiang Xue
62b4a645f1
crud generator WIP
11 years ago
MaximAL
3b8aff5a44
Blowfish cost must be in range 4…31, not 4…30
...
`generateSalt` parameter validation fix.
11 years ago
Carsten Brandt
53b4ed3d7f
Moved label for Sort::link() to html options
11 years ago