Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yii2bootstrap
Project
Project
Details
Activity
Releases
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
夏彬
yii2bootstrap
Commits
1f522d22
Commit
1f522d22
authored
Mar 06, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sort WIP
parent
5f774db6
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
102 additions
and
155 deletions
+102
-155
Model.php
framework/base/Model.php
+1
-1
Html.php
framework/util/Html.php
+13
-0
Pagination.php
framework/web/Pagination.php
+1
-1
Sort.php
framework/web/Sort.php
+87
-153
No files found.
framework/base/Model.php
View file @
1f522d22
...
@@ -541,7 +541,7 @@ class Model extends Component implements \IteratorAggregate, \ArrayAccess
...
@@ -541,7 +541,7 @@ class Model extends Component implements \IteratorAggregate, \ArrayAccess
public
function
onUnsafeAttribute
(
$name
,
$value
)
public
function
onUnsafeAttribute
(
$name
,
$value
)
{
{
if
(
YII_DEBUG
)
{
if
(
YII_DEBUG
)
{
\Yii
::
warning
(
"Failed to set unsafe attribute '
$name
' in '"
.
get_class
(
$this
)
.
"'."
);
\Yii
::
info
(
"Failed to set unsafe attribute '
$name
' in '"
.
get_class
(
$this
)
.
"'."
,
__CLASS__
);
}
}
}
}
...
...
framework/util/Html.php
0 → 100644
View file @
1f522d22
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace
yii\util
;
class
Html
{
}
framework/web/Pagination.php
View file @
1f522d22
...
@@ -34,7 +34,7 @@ use Yii;
...
@@ -34,7 +34,7 @@ use Yii;
*
*
* $this->render('index', array(
* $this->render('index', array(
* 'models' => $models,
* 'models' => $models,
* 'pages' => $pages
* 'pages' => $pages
,
* ));
* ));
* }
* }
* ~~~
* ~~~
...
...
framework/web/Sort.php
View file @
1f522d22
This diff is collapsed.
Click to expand it.
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