mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-21 22:47:17 +01: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