Browse Source

added missing php reserved keywords to gii generator

tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
0679d8ca74
  1. 6
      framework/yii/gii/Generator.php

6
framework/yii/gii/Generator.php

@ -211,6 +211,7 @@ abstract class Generator extends Model
'__line__',
'__method__',
'__namespace__',
'__trait__',
'abstract',
'and',
'array',
@ -218,6 +219,7 @@ abstract class Generator extends Model
'break',
'case',
'catch',
'callable',
'cfunction',
'class',
'clone',
@ -242,7 +244,7 @@ abstract class Generator extends Model
'exit',
'extends',
'final',
'final',
'finally',
'for',
'foreach',
'function',
@ -253,6 +255,7 @@ abstract class Generator extends Model
'include',
'include_once',
'instanceof',
'insteadof',
'interface',
'isset',
'list',
@ -273,6 +276,7 @@ abstract class Generator extends Model
'switch',
'this',
'throw',
'trait',
'try',
'unset',
'use',

Loading…
Cancel
Save