Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
ffb37f8e
Commit
ffb37f8e
authored
Oct 24, 2013
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes #1001
parent
752037d9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
DataColumn.php
framework/yii/grid/DataColumn.php
+4
-4
UniqueValidator.php
framework/yii/validators/UniqueValidator.php
+1
-1
No files found.
framework/yii/grid/DataColumn.php
View file @
ffb37f8e
...
@@ -41,10 +41,10 @@ class DataColumn extends Column
...
@@ -41,10 +41,10 @@ class DataColumn extends Column
*/
*/
public
$value
;
public
$value
;
/**
/**
* @var string
in which format should the value of each data model be displayed as (e.g. "text", "html").
* @var string
|array in which format should the value of each data model be displayed as (e.g. "text", "html",
*
Supported formats are determined by the [[GridView::formatter|formatter]] used by the [[GridView]].
*
['date', 'Y-m-d']). Supported formats are determined by the [[GridView::formatter|formatter]] used by
* Default format is "text" which will format the value as an HTML-encoded plain text when
*
the [[GridView]].
Default format is "text" which will format the value as an HTML-encoded plain text when
* [[\yii\base\Formatter
]] or [[\yii\i18n\Formatter
]] is used.
* [[\yii\base\Formatter
::format()]] or [[\yii\i18n\Formatter::format()
]] is used.
*/
*/
public
$format
=
'text'
;
public
$format
=
'text'
;
/**
/**
...
...
framework/yii/validators/UniqueValidator.php
View file @
ffb37f8e
...
@@ -12,7 +12,7 @@ use yii\base\InvalidConfigException;
...
@@ -12,7 +12,7 @@ use yii\base\InvalidConfigException;
use
yii\db\ActiveRecord
;
use
yii\db\ActiveRecord
;
/**
/**
*
C
UniqueValidator validates that the attribute value is unique in the corresponding database table.
* UniqueValidator validates that the attribute value is unique in the corresponding database table.
*
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
* @since 2.0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment