mirror of
https://github.com/processwire/processwire.git
synced 2025-08-17 04:04:13 +02:00
Fix issue processwire/processwire-issues#171 which updates our reserved field names list
This commit is contained in:
@@ -34,47 +34,48 @@ class Fields extends WireSaveableItems {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
static protected $nativeNamesSystem = array(
|
static protected $nativeNamesSystem = array(
|
||||||
'id',
|
'child',
|
||||||
'parent_id',
|
'children',
|
||||||
'parent', // alias
|
'created_users_id',
|
||||||
'parents',
|
|
||||||
'templates_id',
|
|
||||||
'template', // alias
|
|
||||||
'name',
|
|
||||||
'status',
|
|
||||||
'created',
|
'created',
|
||||||
'createdUser',
|
'createdUser',
|
||||||
'createdUserID',
|
'createdUserID',
|
||||||
'createdUsersID',
|
'createdUsersID',
|
||||||
'created_users_id',
|
'data',
|
||||||
|
'description',
|
||||||
|
'fieldgroup',
|
||||||
|
'fields',
|
||||||
|
'find',
|
||||||
|
'flags',
|
||||||
|
'get',
|
||||||
|
'id',
|
||||||
'include',
|
'include',
|
||||||
'modified',
|
'isNew',
|
||||||
'modifiedUser',
|
'limit',
|
||||||
|
'modified_users_id',
|
||||||
|
'modified',
|
||||||
|
'modifiedUser',
|
||||||
'modifiedUserID',
|
'modifiedUserID',
|
||||||
'modifiedUsersID',
|
'modifiedUsersID',
|
||||||
'modified_users_id',
|
'name',
|
||||||
'published',
|
|
||||||
'num_children',
|
'num_children',
|
||||||
'numChildren',
|
'numChildren',
|
||||||
'sort',
|
'parent_id',
|
||||||
'sortfield',
|
'parent',
|
||||||
'flags',
|
'parents',
|
||||||
'find',
|
'path',
|
||||||
'get',
|
'published',
|
||||||
'child',
|
'rootParent',
|
||||||
'children',
|
'siblings',
|
||||||
'siblings',
|
'sort',
|
||||||
//'roles',
|
'sortfield',
|
||||||
'url',
|
'start',
|
||||||
'path',
|
'status',
|
||||||
'templatePrevious',
|
'template',
|
||||||
'rootParent',
|
'templatePrevious',
|
||||||
'fieldgroup',
|
'templates_id',
|
||||||
'fields',
|
'url',
|
||||||
'description',
|
);
|
||||||
'data',
|
|
||||||
'isNew',
|
|
||||||
);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Field names that are native/permanent to this instance of ProcessWire (configurable at runtime)
|
* Field names that are native/permanent to this instance of ProcessWire (configurable at runtime)
|
||||||
|
Reference in New Issue
Block a user