Commit 1f522d22 by Qiang Xue

sort WIP

parent 5f774db6
...@@ -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__);
} }
} }
......
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace yii\util;
class Html
{
}
...@@ -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,
* )); * ));
* } * }
* ~~~ * ~~~
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment