code
string
repo_name
string
path
string
language
string
license
string
size
int64
<?php /** * CActiveRecord class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CActiveRecord is the base class for classes representing relational data. * ...
zx-xinhuahos
trunk/src/framework/db/ar/CActiveRecord.php
PHP
art
84,084
<?php /** * CActiveRecordBehavior class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CActiveRecordBehavior is the base class for behaviors that can be atta...
zx-xinhuahos
trunk/src/framework/db/ar/CActiveRecordBehavior.php
PHP
art
3,198
<?php /** * CDbConnection class file * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CDbConnection represents a connection to a database. * * CDbConnection works ...
zx-xinhuahos
trunk/src/framework/db/CDbConnection.php
PHP
art
26,745
<?php /** * CDbCriteria class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CDbCriteria represents a query criteria, such as conditions, ordering by, limit/...
zx-xinhuahos
trunk/src/framework/db/schema/CDbCriteria.php
PHP
art
23,023
<?php /** * CDbExpression class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CDbExpression represents a DB expression that does not need escaping. * CDbEx...
zx-xinhuahos
trunk/src/framework/db/schema/CDbExpression.php
PHP
art
1,780
<?php /** * CMysqlColumnSchema class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CMysqlColumnSchema class describes the column meta data of a MySQL table....
zx-xinhuahos
trunk/src/framework/db/schema/mysql/CMysqlColumnSchema.php
PHP
art
1,915
<?php /** * CMysqlCommandBuilder class file. * * @author Carsten Brandt <mail@cebe.cc> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CMysqlCommandBuilder provides basic methods to create query commands for ...
zx-xinhuahos
trunk/src/framework/db/schema/mysql/CMysqlCommandBuilder.php
PHP
art
1,064
<?php /** * CMysqlTableSchema class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CMysqlTableSchema represents the metadata for a MySQL table. * * @author...
zx-xinhuahos
trunk/src/framework/db/schema/mysql/CMysqlTableSchema.php
PHP
art
629
<?php /** * CMysqlSchema class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CMysqlSchema is the class for retrieving metadata information from a MySQL data...
zx-xinhuahos
trunk/src/framework/db/schema/mysql/CMysqlSchema.php
PHP
art
10,286
<?php /** * CDbColumnSchema class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CDbColumnSchema class describes the column meta data of a database table. *...
zx-xinhuahos
trunk/src/framework/db/schema/CDbColumnSchema.php
PHP
art
3,986
<?php /** * CDbCommandBuilder class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CDbCommandBuilder provides basic methods to create query commands for tabl...
zx-xinhuahos
trunk/src/framework/db/schema/CDbCommandBuilder.php
PHP
art
25,841
<?php /** * CMssqlSqlsrvPdoAdapter class file. * * @author Timur Ruziev <resurtm@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2012 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * This is an extension of default PDO class for MSSQL SQLSRV driver on...
zx-xinhuahos
trunk/src/framework/db/schema/mssql/CMssqlSqlsrvPdoAdapter.php
PHP
art
1,144
<?php /** * CMssqlSchema class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @author Christophe Boulain <Christophe.Boulain@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CMssqlSchema is th...
zx-xinhuahos
trunk/src/framework/db/schema/mssql/CMssqlSchema.php
PHP
art
14,654
<?php /** * CMssqlColumnSchema class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @author Christophe Boulain <Christophe.Boulain@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CMssqlColumn...
zx-xinhuahos
trunk/src/framework/db/schema/mssql/CMssqlColumnSchema.php
PHP
art
2,485
<?php /** * CMsCommandBuilder class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @author Christophe Boulain <Christophe.Boulain@gmail.com> * @author Wei Zhuo <weizhuo[at]gmail[dot]com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiif...
zx-xinhuahos
trunk/src/framework/db/schema/mssql/CMssqlCommandBuilder.php
PHP
art
11,363
<?php /** * CMssqlTableSchema class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @author Christophe Boulain <Christophe.Boulain@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CMssqlTableSc...
zx-xinhuahos
trunk/src/framework/db/schema/mssql/CMssqlTableSchema.php
PHP
art
906
<?php /** * CMssqlPdo class file * * @author Christophe Boulain <Christophe.Boulain@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * This is an extension of default PDO class for mssql driver only ...
zx-xinhuahos
trunk/src/framework/db/schema/mssql/CMssqlPdoAdapter.php
PHP
art
1,640
<?php /** * CPgsqlTable class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CPgsqlTable represents the metadata for a PostgreSQL table. * * @author Qiang ...
zx-xinhuahos
trunk/src/framework/db/schema/pgsql/CPgsqlTableSchema.php
PHP
art
544
<?php /** * CPgsqlSchema class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CPgsqlSchema is the class for retrieving metadata information from a PostgreSQL...
zx-xinhuahos
trunk/src/framework/db/schema/pgsql/CPgsqlSchema.php
PHP
art
13,684
<?php /** * CPgsqlColumnSchema class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CPgsqlColumnSchema class describes the column meta data of a PostgreSQL t...
zx-xinhuahos
trunk/src/framework/db/schema/pgsql/CPgsqlColumnSchema.php
PHP
art
1,710
<?php /** * COciColumnSchema class file. * * @author Ricardo Grana <rickgrana@yahoo.com.br> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * COciColumnSchema class describes the column meta data of an Oracle t...
zx-xinhuahos
trunk/src/framework/db/schema/oci/COciColumnSchema.php
PHP
art
1,583
<?php /** * COciTableSchema class file. * * @author Ricardo Grana <rickgrana@yahoo.com.br> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * COciTableSchema represents the metadata for an Oracle table. * * @a...
zx-xinhuahos
trunk/src/framework/db/schema/oci/COciTableSchema.php
PHP
art
623
<?php /** * COciSchema class file. * * @author Ricardo Grana <rickgrana@yahoo.com.br> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * COciSchema is the class for retrieving metadata information from an Oracle...
zx-xinhuahos
trunk/src/framework/db/schema/oci/COciSchema.php
PHP
art
11,679
<?php /** * COciCommandBuilder class file. * * @author Ricardo Grana <rickgrana@yahoo.com.br> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * COciCommandBuilder provides basic methods to create query commands...
zx-xinhuahos
trunk/src/framework/db/schema/oci/COciCommandBuilder.php
PHP
art
3,370
<?php /** * CDbTableSchema class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CDbTableSchema is the base class for representing the metadata of a database ...
zx-xinhuahos
trunk/src/framework/db/schema/CDbTableSchema.php
PHP
art
2,203
<?php /** * CDbSchema class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CDbSchema is the base class for retrieving metadata information. * * @property C...
zx-xinhuahos
trunk/src/framework/db/schema/CDbSchema.php
PHP
art
22,812
<?php /** * CSqliteSchema class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CSqliteSchema is the class for retrieving metadata information from a SQLite (...
zx-xinhuahos
trunk/src/framework/db/schema/sqlite/CSqliteSchema.php
PHP
art
12,578
<?php /** * CSqliteColumnSchema class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CSqliteColumnSchema class describes the column meta data of a SQLite tab...
zx-xinhuahos
trunk/src/framework/db/schema/sqlite/CSqliteColumnSchema.php
PHP
art
976
<?php /** * CSqliteCommandBuilder class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CSqliteCommandBuilder provides basic methods to create query commands ...
zx-xinhuahos
trunk/src/framework/db/schema/sqlite/CSqliteCommandBuilder.php
PHP
art
1,283
<?php /** * CDbDataReader class file * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CDbDataReader represents a forward-only stream of rows from a query result set....
zx-xinhuahos
trunk/src/framework/db/CDbDataReader.php
PHP
art
7,192
<?php /** * This file contains the CDbCommand class. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CDbCommand represents an SQL statement to execute against a dat...
zx-xinhuahos
trunk/src/framework/db/CDbCommand.php
PHP
art
62,801
<?php /** * CDbTransaction class file * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CDbTransaction represents a DB transaction. * * It is usually created by cal...
zx-xinhuahos
trunk/src/framework/db/CDbTransaction.php
PHP
art
2,740
<?php /** * CDbMigration class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CDbMigration is the base class for representing a database migration. * * CDb...
zx-xinhuahos
trunk/src/framework/db/CDbMigration.php
PHP
art
18,160
<?php /** * CTimestampBehavior class file. * * @author Jonah Turnquist <poppitypop@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CTimestampBehavior will automatically fill date and time related ...
zx-xinhuahos
trunk/src/framework/zii/behaviors/CTimestampBehavior.php
PHP
art
4,547
<?php /** * CMenu class file. * * @author Jonah Turnquist <poppitypop@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CMenu displays a multi-level menu us...
zx-xinhuahos
trunk/src/framework/zii/widgets/CMenu.php
PHP
art
12,212
<?php /** * CJuiAutoComplete class file. * * @author Sebastian Thierer <sebathi@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('zii.widgets.jui.CJuiInputWidget'); /** * CJuiAutoComplete dis...
zx-xinhuahos
trunk/src/framework/zii/widgets/jui/CJuiAutoComplete.php
PHP
art
3,137
<?php /** * CJuiInputWidget class file. * * @author Sebastian Thierer <sebathi@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('zii.widgets.jui.CJuiWidget'); /** * CJuiInputWidget is the bas...
zx-xinhuahos
trunk/src/framework/zii/widgets/jui/CJuiInputWidget.php
PHP
art
1,820
<?php /** * CJuiTabs class file. * * @author Sebastian Thierer <sebathi@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('zii.widgets.jui.CJuiWidget'); /** * CJuiTabs displays a tabs widget. ...
zx-xinhuahos
trunk/src/framework/zii/widgets/jui/CJuiTabs.php
PHP
art
4,578
<?php /** * CJuiDatePicker class file. * * @author Sebastian Thierer <sebathi@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('zii.widgets.jui.CJuiInputWidget'); /** * CJuiDatePicker display...
zx-xinhuahos
trunk/src/framework/zii/widgets/jui/CJuiDatePicker.php
PHP
art
3,942
<?php /** * CJuiSelectable class file. * * @author Sebastian Thierer <sebathi@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('zii.widgets.jui.CJuiWidget'); /** * CJuiSelectable displays an ...
zx-xinhuahos
trunk/src/framework/zii/widgets/jui/CJuiSelectable.php
PHP
art
2,481
<?php /** * CJuiWidget class file. * * @author Sebastian Thierer <sebathi@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * This is the base class for all J...
zx-xinhuahos
trunk/src/framework/zii/widgets/jui/CJuiWidget.php
PHP
art
5,765
<?php /** * CJuiDraggable class file. * * @author Sebastian Thierer <sebathi@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('zii.widgets.jui.CJuiWidget'); /** * CJuiDraggable d...
zx-xinhuahos
trunk/src/framework/zii/widgets/jui/CJuiDraggable.php
PHP
art
2,055
<?php /** * CJuiDialog class file. * * @author Sebastian Thierer <sebathi@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('zii.widgets.jui.CJuiWidget'); /** * CJuiDialog displays a dialog wi...
zx-xinhuahos
trunk/src/framework/zii/widgets/jui/CJuiDialog.php
PHP
art
2,186
<?php /** * CJuiDroppable class file. * * @author Sebastian Thierer <sebathi@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('zii.widgets.jui.CJuiWidget'); /** * CJuiDroppable d...
zx-xinhuahos
trunk/src/framework/zii/widgets/jui/CJuiDroppable.php
PHP
art
2,064
<?php /** * CJuiResizable class file. * * @author Sebastian Thierer <sebathi@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('zii.widgets.jui.CJuiWidget'); /** * CJuiResizable displays a res...
zx-xinhuahos
trunk/src/framework/zii/widgets/jui/CJuiResizable.php
PHP
art
1,980
<?php /** * CJuiProgressBar class file. * * @author Sebastian Thierer <sebathi@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('zii.widgets.jui.CJuiWidget'); /** * CJuiProgressBar displays a...
zx-xinhuahos
trunk/src/framework/zii/widgets/jui/CJuiProgressBar.php
PHP
art
2,150
<?php /** * CJuiSlider class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('zii.widgets.jui.CJuiWidget'); /** * CJuiSlider displays a slider. * * C...
zx-xinhuahos
trunk/src/framework/zii/widgets/jui/CJuiSlider.php
PHP
art
2,060
<?php /** * CJuiSortable class file. * * @author Sebastian Thierer <sebathi@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('zii.widgets.jui.CJuiWidget'); /** * CJuiSortable makes selected e...
zx-xinhuahos
trunk/src/framework/zii/widgets/jui/CJuiSortable.php
PHP
art
2,633
<?php /** * CJuiButton class file. * * @author Sebastian Thierer <sebas@artfos.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('zii.widgets.jui.CJuiInputWidget'); /** * CJuiButton displays a butto...
zx-xinhuahos
trunk/src/framework/zii/widgets/jui/CJuiButton.php
PHP
art
4,905
<?php /** * CJuiAccordion class file. * * @author Sebastian Thierer <sebathi@gmail.com> * @author Qiang XUe <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('zii.widgets.jui.CJuiWid...
zx-xinhuahos
trunk/src/framework/zii/widgets/jui/CJuiAccordion.php
PHP
art
3,088
<?php /** * CJuiSliderInput class file. * * @author Sebastian Thierer <sebathi@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('zii.widgets.jui.CJuiInputWidget'); /** * CJuiSliderInput displ...
zx-xinhuahos
trunk/src/framework/zii/widgets/jui/CJuiSliderInput.php
PHP
art
4,418
<?php /** * CBreadcrumbs class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CBreadcrumbs displays a list of links indicating the position of the current pa...
zx-xinhuahos
trunk/src/framework/zii/widgets/CBreadcrumbs.php
PHP
art
4,759
<?php /** * CBaseListView class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CBaseListView is the base class for {@link CListView} and {@link CGridView}. ...
zx-xinhuahos
trunk/src/framework/zii/widgets/CBaseListView.php
PHP
art
8,659
<?php /** * CPortlet class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CPortlet is the base class for portlet widgets. * * A portlet displays a fragment...
zx-xinhuahos
trunk/src/framework/zii/widgets/CPortlet.php
PHP
art
3,391
<?php /** * CDetailView class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CDetailView displays the detail of a single data model. * * CDetailView is bes...
zx-xinhuahos
trunk/src/framework/zii/widgets/CDetailView.php
PHP
art
9,895
<?php /** * CListView class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('zii.widgets.CBaseListView'); /** * CListView displays a list of data items...
zx-xinhuahos
trunk/src/framework/zii/widgets/CListView.php
PHP
art
12,065
<?php /** * CLinkColumn class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('zii.widgets.grid.CGridColumn'); /** * CLinkColumn represents a grid view...
zx-xinhuahos
trunk/src/framework/zii/widgets/grid/CLinkColumn.php
PHP
art
3,331
<?php /** * CCheckBoxColumn class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('zii.widgets.grid.CGridColumn'); /** * CCheckBoxColumn represents a g...
zx-xinhuahos
trunk/src/framework/zii/widgets/grid/CCheckBoxColumn.php
PHP
art
7,866
<?php /** * CDataColumn class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('zii.widgets.grid.CGridColumn'); /** * CDataColumn represents a grid view...
zx-xinhuahos
trunk/src/framework/zii/widgets/grid/CDataColumn.php
PHP
art
5,430
<?php /** * CGridColumn class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CGridColumn is the base class for all grid view column classes. * * A CGridCol...
zx-xinhuahos
trunk/src/framework/zii/widgets/grid/CGridColumn.php
PHP
art
5,379
<?php /** * CGridView class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('zii.widgets.CBaseListView'); Yii::import('zii.widgets.grid.CDataColumn'); Yi...
zx-xinhuahos
trunk/src/framework/zii/widgets/grid/CGridView.php
PHP
art
22,328
<?php /** * CButtonColumn class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('zii.widgets.grid.CGridColumn'); /** * CButtonColumn represents a grid ...
zx-xinhuahos
trunk/src/framework/zii/widgets/grid/CButtonColumn.php
PHP
art
11,890
table.detail-view .null { color: pink; } table.detail-view { background: white; border-collapse: collapse; width: 100%; margin: 0; } table.detail-view th, table.detail-view td { font-size: 0.9em; border: 1px white solid; padding: 0.3em 0.6em; vertical-align: top; } table.detail-view th { text-align: right;...
zx-xinhuahos
trunk/src/framework/zii/widgets/assets/detailview/styles.css
CSS
art
508
.grid-view-loading { background:url(loading.gif) no-repeat; } .grid-view { padding: 15px 0; } .grid-view table.items { background: white; border-collapse: collapse; width: 100%; border: 1px #D0E3EF solid; } .grid-view table.items th, .grid-view table.items td { font-size: 0.9em; border: 1px white solid; pad...
zx-xinhuahos
trunk/src/framework/zii/widgets/assets/gridview/styles.css
CSS
art
1,606
/** * jQuery Yii GridView plugin file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ */ (function ($) { var selectCheckedRows, methods, gridSettings = []; /** * 1. Se...
zx-xinhuahos
trunk/src/framework/zii/widgets/assets/gridview/jquery.yiigridview.js
JavaScript
art
16,358
/** * jQuery Yii ListView plugin file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ */ ;(function($) { /** * yiiListView set function. * @param options map settings f...
zx-xinhuahos
trunk/src/framework/zii/widgets/assets/listview/jquery.yiilistview.js
JavaScript
art
5,582
.list-view-loading { background:url(loading.gif) no-repeat; } .list-view .summary { margin: 0 0 5px 0; text-align: right; } .list-view .sorter { margin: 0 0 5px 0; text-align: right; } .list-view .pager { margin: 5px 0 0 0; text-align: right; } .list-view .sorter { font-size: 0.9em; } .list-view .sorter ul...
zx-xinhuahos
trunk/src/framework/zii/widgets/assets/listview/styles.css
CSS
art
724
<?php /** * This file contains the CDbFixtureManager class. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CDbFixtureManager manages database fixtures during tests...
zx-xinhuahos
trunk/src/framework/test/CDbFixtureManager.php
PHP
art
12,055
<?php /** * This file contains the CWebTestCase class. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('system.test.CTestCase'); require_once('PHPUnit/Extensio...
zx-xinhuahos
trunk/src/framework/test/CWebTestCase.php
PHP
art
3,389
<?php /** * This file contains the CDbTestCase class. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('system.test.CTestCase'); /** * CDbTestCase is the base...
zx-xinhuahos
trunk/src/framework/test/CDbTestCase.php
PHP
art
4,040
<?php /** * This file contains the CTestCase class. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ require_once('PHPUnit/Runner/Version.php'); require_once('PHPUnit/Util/...
zx-xinhuahos
trunk/src/framework/test/CTestCase.php
PHP
art
984
<?php echo "<?php\n"; $controller=substr($controller,0,strlen($controller)-10); $label=ucwords(trim(strtolower(str_replace(array('-','_','.'),' ',preg_replace('/(?<![A-Z])[A-Z]/', ' \0', $controller))))); if($action==='index') { echo "\$this->breadcrumbs=array( '$label', );"; } else { $route=$controller.'/index'; ...
zx-xinhuahos
trunk/src/framework/cli/views/shell/controller/view.php
PHP
art
665
<?php /** * This is the template for generating a controller class file. * The following variables are available in this template: * - $className: the class name of the controller * - $actions: a list of action names for the controller */ ?> <?php echo "<?php\n"; ?> class <?php echo $className; ?> extends Control...
zx-xinhuahos
trunk/src/framework/cli/views/shell/controller/controller.php
PHP
art
1,102
<?php $this->breadcrumbs=array( $this->module->id, ); ?> <h1><?php echo $this->uniqueId . '/' . $this->action->id; ?></h1> <p> This is the view content for action "<?php echo $this->action->id; ?>". The action belongs to the controller "<?php echo get_class($this); ?>" in the "<?php echo $this->module->id; ?>" module...
zx-xinhuahos
trunk/src/framework/cli/views/shell/module/views/default/index.php
PHP
art
407
<?php class DefaultController extends Controller { public function actionIndex() { $this->render('index'); } }
zx-xinhuahos
trunk/src/framework/cli/views/shell/module/controllers/DefaultController.php
PHP
art
116
<?php echo "<?php\n"; ?> class <?php echo $moduleClass; ?> extends CWebModule { public function init() { // this method is called when the module is being created // you may place code here to customize the module or the application // import the module-level models and components $this->setImport(array( ...
zx-xinhuahos
trunk/src/framework/cli/views/shell/module/module.php
PHP
art
707
<?php /** * This is the template for generating the action script for the form. * The following variables are available in this template: * - $modelClass: the model class name * - $viewName: the name of the view */ ?> <?php $actionName=$modelClass; if(strrpos($modelClass,'Form')===strlen($modelClass)-4) $actio...
zx-xinhuahos
trunk/src/framework/cli/views/shell/form/action.php
PHP
art
1,065
<?php /** * This is the template for generating the form view for the specified model. * The following variables are available in this template: * - $modelClass: the model class name * - $attributes: a list of attribute names to receive form inputs */ ?> <div class="form"> <?php echo "<?php \$form=\$this->beginWi...
zx-xinhuahos
trunk/src/framework/cli/views/shell/form/form.php
PHP
art
1,066
<?php /** * This is the template for generating a model class file. * The following variables are available in this template: * - $className: the class name * - $tableName: the table name * - $columns: a list of table column schema objects * - $rules: a list of validation rules (string) * - $labels: a list of la...
zx-xinhuahos
trunk/src/framework/cli/views/shell/model/model.php
PHP
art
2,925
<?php /** * This is the template for generating the unit test for a model class. * The following variables are available in this template: * - $className: the class name * - $fixtureName: the fixture name */ ?> <?php echo "<?php\n"; ?> class <?php echo $className; ?>Test extends CDbTestCase { public $fixtures=ar...
zx-xinhuahos
trunk/src/framework/cli/views/shell/model/test.php
PHP
art
430
<?php /** * This is the template for generating the fixture file for a model class. * The following variables are available in this template: * - $table: the table schema */ ?> <?php echo "<?php\n"; ?> return array( /* 'sample1'=>array( <?php foreach($table->columns as $name=>$column) { if($table->sequenceName=...
zx-xinhuahos
trunk/src/framework/cli/views/shell/model/fixture.php
PHP
art
594
<?php /** * This is the template for generating the 'view' view for crud. * The following variables are available in this template: * - $ID: the primary key name * - $modelClass: the model class name * - $columns: a list of column schema objects */ ?> <?php echo "<?php\n"; $nameColumn=$this->guessNameColumn($colu...
zx-xinhuahos
trunk/src/framework/cli/views/shell/crud/view.php
PHP
art
1,309
<?php /** * This is the template for generating the create view for crud. * The following variables are available in this template: * - $ID: the primary key name * - $modelClass: the model class name * - $columns: a list of column schema objects */ ?> <?php echo "<?php\n"; $label=$this->class2name($modelClass,tru...
zx-xinhuahos
trunk/src/framework/cli/views/shell/crud/create.php
PHP
art
716
<?php /** * This is the template for generating the update view for crud. * The following variables are available in this template: * - $ID: the primary key name * - $modelClass: the model class name * - $columns: a list of column schema objects */ ?> <?php echo "<?php\n"; $nameColumn=$this->guessNameColumn($colu...
zx-xinhuahos
trunk/src/framework/cli/views/shell/crud/update.php
PHP
art
1,041
<?php /** * This is the template for generating the index view for crud. * The following variables are available in this template: * - $ID: the primary key name * - $modelClass: the model class name * - $columns: a list of column schema objects */ ?> <?php echo "<?php\n"; $label=$this->class2name($modelClass,true...
zx-xinhuahos
trunk/src/framework/cli/views/shell/crud/index.php
PHP
art
783
<?php /** * This is the template for generating the form view for crud. * The following variables are available in this template: * - $ID: the primary key name * - $modelClass: the model class name * - $columns: a list of column schema objects */ ?> <div class="wide form"> <?php echo "<?php \$form=\$this->beginW...
zx-xinhuahos
trunk/src/framework/cli/views/shell/crud/_search.php
PHP
art
977
<?php /** * This is the template for generating the admin view for crud. * The following variables are available in this template: * - $ID: the primary key name * - $modelClass: the model class name * - $columns: a list of column schema objects */ ?> <?php echo "<?php\n"; $label=$this->class2name($modelClass,true...
zx-xinhuahos
trunk/src/framework/cli/views/shell/crud/admin.php
PHP
art
1,891
<?php /** * This is the template for generating the functional test for controller. * The following variables are available in this template: * - $controllerID: the controller ID * - $fixtureName: the fixture name * - $modelClass: the model class name */ ?> <?php echo "<?php\n"; ?> class <?php echo $modelClass; ...
zx-xinhuahos
trunk/src/framework/cli/views/shell/crud/test.php
PHP
art
1,011
<?php /** * This is the template for generating the form view for crud. * The following variables are available in this template: * - $ID: the primary key name * - $modelClass: the model class name * - $columns: a list of column schema objects */ ?> <div class="form"> <?php echo "<?php \$form=\$this->beginWidget...
zx-xinhuahos
trunk/src/framework/cli/views/shell/crud/_form.php
PHP
art
1,158
<?php /** * This is the template for generating the controller class file for crud. * The following variables are available in this template: * - $ID: the primary key name * - $controllerClass: the controller class name * - $modelClass: the model class name */ ?> <?php echo "<?php\n"; ?> class <?php echo $contro...
zx-xinhuahos
trunk/src/framework/cli/views/shell/crud/controller.php
PHP
art
4,731
<?php /** * This is the template for generating the partial view for rendering a single model. * The following variables are available in this template: * - $ID: the primary key name * - $modelClass: the model class name * - $columns: a list of column schema objects */ ?> <div class="view"> <?php echo "\t<b><?ph...
zx-xinhuahos
trunk/src/framework/cli/views/shell/crud/_view.php
PHP
art
847
<?php /** * This is the bootstrap file for test application. * This file should be removed when the application is deployed for production. */ // change the following paths if necessary $yii=dirname(__FILE__).'/../framework/yii.php'; $config=dirname(__FILE__).'/protected/config/test.php'; // remove the following l...
zx-xinhuahos
trunk/src/framework/cli/views/webapp/index-test.php
PHP
art
462
<?php // change the following paths if necessary $yii=dirname(__FILE__).'/../framework/yii.php'; $config=dirname(__FILE__).'/protected/config/main.php'; // remove the following lines when in production mode defined('YII_DEBUG') or define('YII_DEBUG',true); // specify how many levels of call stack should be shown in e...
zx-xinhuahos
trunk/src/framework/cli/views/webapp/index.php
PHP
art
459
<?php return CMap::mergeArray( require(dirname(__FILE__).'/main.php'), array( 'components'=>array( 'fixture'=>array( 'class'=>'system.test.CDbFixtureManager', ), /* uncomment the following to provide test database connection 'db'=>array( 'connectionString'=>'DSN for test database', ), */ ...
zx-xinhuahos
trunk/src/framework/cli/views/webapp/protected/config/test.php
PHP
art
331
<?php // uncomment the following to define a path alias // Yii::setPathOfAlias('local','path/to/local-folder'); // This is the main Web application configuration. Any writable // CWebApplication properties can be configured here. return array( 'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..', 'name'=>'My Web ...
zx-xinhuahos
trunk/src/framework/cli/views/webapp/protected/config/main.php
PHP
art
2,229
<?php // This is the configuration for yiic console application. // Any writable CConsoleApplication properties can be configured here. return array( 'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..', 'name'=>'My Console Application', // preloading 'log' component 'preload'=>array('log'), // application co...
zx-xinhuahos
trunk/src/framework/cli/views/webapp/protected/config/console.php
PHP
art
858
<?php /* @var $this SiteController */ $this->pageTitle=Yii::app()->name . ' - About'; $this->breadcrumbs=array( 'About', ); ?> <h1>About</h1> <p>This is a "static" page. You may change the content of this page by updating the file <code><?php echo __FILE__; ?></code>.</p>
zx-xinhuahos
trunk/src/framework/cli/views/webapp/protected/views/site/pages/about.php
PHP
art
276
<?php /* @var $this SiteController */ /* @var $model ContactForm */ /* @var $form CActiveForm */ $this->pageTitle=Yii::app()->name . ' - Contact Us'; $this->breadcrumbs=array( 'Contact', ); ?> <h1>Contact Us</h1> <?php if(Yii::app()->user->hasFlash('contact')): ?> <div class="flash-success"> <?php echo Yii::app()...
zx-xinhuahos
trunk/src/framework/cli/views/webapp/protected/views/site/contact.php
PHP
art
2,149
<?php /* @var $this SiteController */ /* @var $error array */ $this->pageTitle=Yii::app()->name . ' - Error'; $this->breadcrumbs=array( 'Error', ); ?> <h2>Error <?php echo $code; ?></h2> <div class="error"> <?php echo CHtml::encode($message); ?> </div>
zx-xinhuahos
trunk/src/framework/cli/views/webapp/protected/views/site/error.php
PHP
art
256
<?php /* @var $this SiteController */ $this->pageTitle=Yii::app()->name; ?> <h1>Welcome to <i><?php echo CHtml::encode(Yii::app()->name); ?></i></h1> <p>Congratulations! You have successfully created your Yii application.</p> <p>You may change the content of this page by modifying the following two files:</p> <ul> ...
zx-xinhuahos
trunk/src/framework/cli/views/webapp/protected/views/site/index.php
PHP
art
722