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
155749e1
Commit
155749e1
authored
Aug 26, 2013
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typos in doc
parent
98474721
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Sort.php
framework/yii/data/Sort.php
+2
-2
DataColumn.php
framework/yii/grid/DataColumn.php
+2
-2
No files found.
framework/yii/data/Sort.php
View file @
155749e1
...
@@ -286,8 +286,8 @@ class Sort extends Object
...
@@ -286,8 +286,8 @@ class Sort extends Object
* with "asc" or "desc".
* with "asc" or "desc".
* @param string $attribute the attribute name by which the data should be sorted by.
* @param string $attribute the attribute name by which the data should be sorted by.
* @param string $label the label to be used for the generated link.
* @param string $label the label to be used for the generated link.
* If this is null, the label defined in [[attributes]] w
e
be used.
* If this is null, the label defined in [[attributes]] w
ill
be used.
* If
there is no label defined, [[
Inflector::camel2words()]] will be called to get a label.
* If
no label is defined, [[yii\helpers\
Inflector::camel2words()]] will be called to get a label.
* @param array $options additional HTML attributes for the hyperlink tag
* @param array $options additional HTML attributes for the hyperlink tag
* @return string the generated hyperlink
* @return string the generated hyperlink
* @throws InvalidConfigException if the attribute is unknown
* @throws InvalidConfigException if the attribute is unknown
...
...
framework/yii/grid/DataColumn.php
View file @
155749e1
...
@@ -31,8 +31,8 @@ class DataColumn extends Column
...
@@ -31,8 +31,8 @@ class DataColumn extends Column
* @var string label to be displayed in the [[header|header cell]] and also to be used as the sorting
* @var string label to be displayed in the [[header|header cell]] and also to be used as the sorting
* link label when sorting is enabled for this column.
* link label when sorting is enabled for this column.
* If it is not set and the models provided by the GridViews data provider are instances
* If it is not set and the models provided by the GridViews data provider are instances
* of [[
ActiveRecord]], the label will be determined via [[
ActiveRecord::getAttributeLabel()]].
* of [[
yii\db\ActiveRecord]], the label will be determined using [[yii\db\
ActiveRecord::getAttributeLabel()]].
* Otherwise [[yii\helpers\Inflector::camel2words]] will be used to get a label.
* Otherwise [[yii\helpers\Inflector::camel2words
()
]] will be used to get a label.
*/
*/
public
$label
;
public
$label
;
/**
/**
...
...
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