added bhl_no_array_proxy
This commit is contained in:
parent
61c7ee7b35
commit
6d99d36956
|
@ -17,6 +17,7 @@ function supported_tokens()
|
|||
'bhl_native_class_params',
|
||||
'bhl_native_prefix',
|
||||
'bhl_custom_rw',
|
||||
'bhl_no_array_proxy',
|
||||
'bhl_get',
|
||||
'bhl_set',
|
||||
'bhl_ref_arg',
|
||||
|
@ -89,7 +90,7 @@ function prepare_meta(\mtgMetaInfo $orig)
|
|||
//NOTE: let's replace arrays with array proxies
|
||||
foreach($fields as $name => $fld)
|
||||
{
|
||||
if($fld->getType() instanceof \mtgArrType)
|
||||
if($fld->getType() instanceof \mtgArrType && !$fld->hasToken('bhl_no_array_proxy'))
|
||||
{
|
||||
$proxy_name = "List_{$fld->getType()->getValue()->getName()}";
|
||||
if(!isset($arr_proxies[$proxy_name]))
|
||||
|
|
Loading…
Reference in New Issue