mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 13:02:24 +08:00
MVC WIP
This commit is contained in:
@ -312,7 +312,7 @@ class HelpController extends Controller
|
||||
{
|
||||
$options = array();
|
||||
foreach ($class->getProperties() as $property) {
|
||||
if (!$property->isPublic() || $property->isStatic() || $property->getDeclaringClass()->getName() === 'yii\base\Controller') {
|
||||
if (!$property->isPublic() || $property->isStatic() || $property->getDeclaringClass()->getName() !== get_class($controller)) {
|
||||
continue;
|
||||
}
|
||||
$name = $property->getName();
|
||||
|
||||
Reference in New Issue
Block a user