Browse Source

added missing php reserved keywords to gii generator

tags/2.0.0-beta
Carsten Brandt 12 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__', '__line__',
'__method__', '__method__',
'__namespace__', '__namespace__',
'__trait__',
'abstract', 'abstract',
'and', 'and',
'array', 'array',
@ -218,6 +219,7 @@ abstract class Generator extends Model
'break', 'break',
'case', 'case',
'catch', 'catch',
'callable',
'cfunction', 'cfunction',
'class', 'class',
'clone', 'clone',
@ -242,7 +244,7 @@ abstract class Generator extends Model
'exit', 'exit',
'extends', 'extends',
'final', 'final',
'final', 'finally',
'for', 'for',
'foreach', 'foreach',
'function', 'function',
@ -253,6 +255,7 @@ abstract class Generator extends Model
'include', 'include',
'include_once', 'include_once',
'instanceof', 'instanceof',
'insteadof',
'interface', 'interface',
'isset', 'isset',
'list', 'list',
@ -273,6 +276,7 @@ abstract class Generator extends Model
'switch', 'switch',
'this', 'this',
'throw', 'throw',
'trait',
'try', 'try',
'unset', 'unset',
'use', 'use',

Loading…
Cancel
Save