e107_admin/users_extended.php
Avoid deeply nested control flow statements. Open
Open
if($sql->gen("DESCRIBE " . MPREFIX . $table_list))
{
while($row3 = $sql->fetch())
{
$field_name = $row3['Field'];
Avoid deeply nested control flow statements. Open
Open
if($sql->gen("DESCRIBE " . MPREFIX . "{$table_list}"))
{
while($row3 = $sql->fetch())
{
$field_name = $row3['Field'];
Avoid deeply nested control flow statements. Open
Open
if($sql->gen("DESCRIBE " . MPREFIX . "{$table_list}"))
{
while($row3 = $sql->fetch())
{
$field_name = $row3['Field'];
Assigning array<string></string>
to property but \user_extended_struct_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',thclass:'center',forced:'1',class:'center',toggle:'e-multiselect'},user_extended_struct_id:array{title:'ID',data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_name:array{title:'Name',type:'method',data:'str',readonly:true,width:'350px',help:'',readParms:'',writeParms:array{tdClassRight:'form-inline',pre:'user_ ',required:true},class:'left',thclass:'left'},user_extended_struct_text:array{title:'Label',type:'text',data:'str',width:'auto',inline:true,help:'',readParms:'constant=1',writeParms:array{required:true},class:'left',thclass:'left'},user_extended_struct_type:array{title:'Preview',type:'method',data:'int',width:'auto',batch:true,filter:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_values:array{title:'Values',type:'method',nolist:true,data:'str',width:'auto',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_default:array{title:'Default Value',type:'text',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_parent:array{title:'Category',type:'dropdown',tab:1,data:'int',width:'auto',batch:true,filter:true,help:'',readParms:'',writeParms:array{size:'xxlarge'},class:'left',thclass:'left'},field_placeholder:array{title:'Placeholder',tab:1,type:'text',data:false,writeParms:array{size:'xxlarge'}},field_helptip:array{title:'Help Tip',tab:1,type:'text',data:false,writeParms:array{size:'xxlarge'}},field_include:array{title:'Field include text',tab:1,type:'textarea',data:false,help:'Any valid w3c parameter may be entered here\x3cbr /\x3ee.g. \x3cb\x3e\x3ci\x3eclass=\'tbox\' size=\'40\' maxlength=\'80\'\x3c/i\x3e\x3c/b\x3e',writeParms:array{size:'xxlarge'}},field_regex:array{title:'regex validation code',tab:1,type:'text',data:false,help:'Enter the regex code that will need to be matched to make it a valid entry \x3cbr /\x3e**regex delimiters are required**',writeParms:array{size:'xxlarge'}},field_regexfail:array{title:'regex failure text',tab:1,type:'text',data:false,help:'Enter the error message that will be shown if the regex validation fails.',writeParms:array{size:'xxlarge'}},field_userhide:array{title:'Allow user to hide',tab:1,type:'boolean',data:false,help:'Setting this to yes will allow the user to hide this value from non-admins',writeParms:array{size:'xxlarge'}},user_extended_struct_required:array{title:'Required',type:'method',data:'int',width:'5%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_applicable:array{title:'Applicable',type:'userclass',data:'int',filter:true,batch:true,width:'10%',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_parms:array{title:'Params',type:'hidden',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_read:array{title:'Read access',type:'userclass',data:'int',filter:true,batch:true,width:'10%',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_write:array{title:'Write access',type:'userclass',data:'int',filter:true,batch:true,width:'10%',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_signup:array{title:'Signup',type:'hidden',nolist:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_order:array{title:'Order',type:'hidden',nolist:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},options:array{title:'Options',type:'method',data:null,width:'10%',thclass:'center last',class:'center last',forced:'1',readParms:'sort=1'}}
Open
Open
$this->fields['field_placeholder']['writeParms']['default'] = $tmp[4];
- Exclude checks
Reference to undeclared constant \EUF_DB_FIELD
Open
Open
$db_hide = ($current['user_extended_struct_type'] == EUF_DB_FIELD) ? "block" : "none";
- Exclude checks
Argument 3 (selected)
is '1'
but \user_extended_struct_form_ui::select()
takes bool|false
defined at /code/e107_handlers/form_handler.php:3325
Open
Open
return $this->select('user_extended_struct_type', $types, $curVal, array('class'=>'tbox e-select'));
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if (!getperms('4'))
- Exclude checks
Reference to undeclared constant \EUF_ADDON
Open
Open
if($type === EUF_ADDON)
- Exclude checks
Reference to undeclared constant \EUF_DB_FIELD
Open
Open
$val_hide = ($type !== EUF_DB_FIELD && $type !== EUF_TEXT && $type !== EUF_COUNTRY ) ? "visible" : "none";
- Exclude checks
Reference to undeclared constant \EUF_DB_FIELD
Open
Open
if($this->getController()->getAction() === 'edit' && ($type !== EUF_DB_FIELD))
- Exclude checks
Assigning array<string></string>
to property but \user_extended_struct_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',thclass:'center',forced:'1',class:'center',toggle:'e-multiselect'},user_extended_struct_id:array{title:'ID',data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_name:array{title:'Name',type:'method',data:'str',readonly:true,width:'350px',help:'',readParms:'',writeParms:array{tdClassRight:'form-inline',pre:'user_ ',required:true},class:'left',thclass:'left'},user_extended_struct_text:array{title:'Label',type:'text',data:'str',width:'auto',inline:true,help:'',readParms:'constant=1',writeParms:array{required:true},class:'left',thclass:'left'},user_extended_struct_type:array{title:'Preview',type:'method',data:'int',width:'auto',batch:true,filter:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_values:array{title:'Values',type:'method',nolist:true,data:'str',width:'auto',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_default:array{title:'Default Value',type:'text',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_parent:array{title:'Category',type:'dropdown',tab:1,data:'int',width:'auto',batch:true,filter:true,help:'',readParms:'',writeParms:array{size:'xxlarge'},class:'left',thclass:'left'},field_placeholder:array{title:'Placeholder',tab:1,type:'text',data:false,writeParms:array{size:'xxlarge'}},field_helptip:array{title:'Help Tip',tab:1,type:'text',data:false,writeParms:array{size:'xxlarge'}},field_include:array{title:'Field include text',tab:1,type:'textarea',data:false,help:'Any valid w3c parameter may be entered here\x3cbr /\x3ee.g. \x3cb\x3e\x3ci\x3eclass=\'tbox\' size=\'40\' maxlength=\'80\'\x3c/i\x3e\x3c/b\x3e',writeParms:array{size:'xxlarge'}},field_regex:array{title:'regex validation code',tab:1,type:'text',data:false,help:'Enter the regex code that will need to be matched to make it a valid entry \x3cbr /\x3e**regex delimiters are required**',writeParms:array{size:'xxlarge'}},field_regexfail:array{title:'regex failure text',tab:1,type:'text',data:false,help:'Enter the error message that will be shown if the regex validation fails.',writeParms:array{size:'xxlarge'}},field_userhide:array{title:'Allow user to hide',tab:1,type:'boolean',data:false,help:'Setting this to yes will allow the user to hide this value from non-admins',writeParms:array{size:'xxlarge'}},user_extended_struct_required:array{title:'Required',type:'method',data:'int',width:'5%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_applicable:array{title:'Applicable',type:'userclass',data:'int',filter:true,batch:true,width:'10%',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_parms:array{title:'Params',type:'hidden',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_read:array{title:'Read access',type:'userclass',data:'int',filter:true,batch:true,width:'10%',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_write:array{title:'Write access',type:'userclass',data:'int',filter:true,batch:true,width:'10%',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_signup:array{title:'Signup',type:'hidden',nolist:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_order:array{title:'Order',type:'hidden',nolist:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},options:array{title:'Options',type:'method',data:null,width:'10%',thclass:'center last',class:'center last',forced:'1',readParms:'sort=1'}}
Open
Open
$this->fields['field_regexfail']['writeParms']['default'] = $tmp[2];
- Exclude checks
Reference to undeclared constant \ADMIN_TRUE_ICON
Open
Open
<td class='center'>".($active ? ADMIN_TRUE_ICON : " ")."</td>
- Exclude checks
Assigning array<string></string>
to property but \user_extended_struct_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',thclass:'center',forced:'1',class:'center',toggle:'e-multiselect'},user_extended_struct_id:array{title:'ID',data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_name:array{title:'Name',type:'method',data:'str',readonly:true,width:'350px',help:'',readParms:'',writeParms:array{tdClassRight:'form-inline',pre:'user_ ',required:true},class:'left',thclass:'left'},user_extended_struct_text:array{title:'Label',type:'text',data:'str',width:'auto',inline:true,help:'',readParms:'constant=1',writeParms:array{required:true},class:'left',thclass:'left'},user_extended_struct_type:array{title:'Preview',type:'method',data:'int',width:'auto',batch:true,filter:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_values:array{title:'Values',type:'method',nolist:true,data:'str',width:'auto',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_default:array{title:'Default Value',type:'text',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_parent:array{title:'Category',type:'dropdown',tab:1,data:'int',width:'auto',batch:true,filter:true,help:'',readParms:'',writeParms:array{size:'xxlarge'},class:'left',thclass:'left'},field_placeholder:array{title:'Placeholder',tab:1,type:'text',data:false,writeParms:array{size:'xxlarge'}},field_helptip:array{title:'Help Tip',tab:1,type:'text',data:false,writeParms:array{size:'xxlarge'}},field_include:array{title:'Field include text',tab:1,type:'textarea',data:false,help:'Any valid w3c parameter may be entered here\x3cbr /\x3ee.g. \x3cb\x3e\x3ci\x3eclass=\'tbox\' size=\'40\' maxlength=\'80\'\x3c/i\x3e\x3c/b\x3e',writeParms:array{size:'xxlarge'}},field_regex:array{title:'regex validation code',tab:1,type:'text',data:false,help:'Enter the regex code that will need to be matched to make it a valid entry \x3cbr /\x3e**regex delimiters are required**',writeParms:array{size:'xxlarge'}},field_regexfail:array{title:'regex failure text',tab:1,type:'text',data:false,help:'Enter the error message that will be shown if the regex validation fails.',writeParms:array{size:'xxlarge'}},field_userhide:array{title:'Allow user to hide',tab:1,type:'boolean',data:false,help:'Setting this to yes will allow the user to hide this value from non-admins',writeParms:array{size:'xxlarge'}},user_extended_struct_required:array{title:'Required',type:'method',data:'int',width:'5%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_applicable:array{title:'Applicable',type:'userclass',data:'int',filter:true,batch:true,width:'10%',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_parms:array{title:'Params',type:'hidden',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_read:array{title:'Read access',type:'userclass',data:'int',filter:true,batch:true,width:'10%',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_write:array{title:'Write access',type:'userclass',data:'int',filter:true,batch:true,width:'10%',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_signup:array{title:'Signup',type:'hidden',nolist:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_order:array{title:'Order',type:'hidden',nolist:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},options:array{title:'Options',type:'method',data:null,width:'10%',thclass:'center last',class:'center last',forced:'1',readParms:'sort=1'}}
Open
Open
$this->fields['field_include']['writeParms']['default'] = $tmp[0];
- Exclude checks
Reference to undeclared constant \EUF_DB_FIELD
Open
Open
if($new_data['user_extended_struct_type'] == EUF_DB_FIELD)
- Exclude checks
Assigning array<string></string>
to property but \user_extended_struct_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',thclass:'center',forced:'1',class:'center',toggle:'e-multiselect'},user_extended_struct_id:array{title:'ID',data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_name:array{title:'Name',type:'method',data:'str',readonly:true,width:'350px',help:'',readParms:'',writeParms:array{tdClassRight:'form-inline',pre:'user_ ',required:true},class:'left',thclass:'left'},user_extended_struct_text:array{title:'Label',type:'text',data:'str',width:'auto',inline:true,help:'',readParms:'constant=1',writeParms:array{required:true},class:'left',thclass:'left'},user_extended_struct_type:array{title:'Preview',type:'method',data:'int',width:'auto',batch:true,filter:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_values:array{title:'Values',type:'method',nolist:true,data:'str',width:'auto',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_default:array{title:'Default Value',type:'text',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_parent:array{title:'Category',type:'dropdown',tab:1,data:'int',width:'auto',batch:true,filter:true,help:'',readParms:'',writeParms:array{size:'xxlarge'},class:'left',thclass:'left'},field_placeholder:array{title:'Placeholder',tab:1,type:'text',data:false,writeParms:array{size:'xxlarge'}},field_helptip:array{title:'Help Tip',tab:1,type:'text',data:false,writeParms:array{size:'xxlarge'}},field_include:array{title:'Field include text',tab:1,type:'textarea',data:false,help:'Any valid w3c parameter may be entered here\x3cbr /\x3ee.g. \x3cb\x3e\x3ci\x3eclass=\'tbox\' size=\'40\' maxlength=\'80\'\x3c/i\x3e\x3c/b\x3e',writeParms:array{size:'xxlarge'}},field_regex:array{title:'regex validation code',tab:1,type:'text',data:false,help:'Enter the regex code that will need to be matched to make it a valid entry \x3cbr /\x3e**regex delimiters are required**',writeParms:array{size:'xxlarge'}},field_regexfail:array{title:'regex failure text',tab:1,type:'text',data:false,help:'Enter the error message that will be shown if the regex validation fails.',writeParms:array{size:'xxlarge'}},field_userhide:array{title:'Allow user to hide',tab:1,type:'boolean',data:false,help:'Setting this to yes will allow the user to hide this value from non-admins',writeParms:array{size:'xxlarge'}},user_extended_struct_required:array{title:'Required',type:'method',data:'int',width:'5%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_applicable:array{title:'Applicable',type:'userclass',data:'int',filter:true,batch:true,width:'10%',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_parms:array{title:'Params',type:'hidden',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_read:array{title:'Read access',type:'userclass',data:'int',filter:true,batch:true,width:'10%',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_write:array{title:'Write access',type:'userclass',data:'int',filter:true,batch:true,width:'10%',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_signup:array{title:'Signup',type:'hidden',nolist:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_order:array{title:'Order',type:'hidden',nolist:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},options:array{title:'Options',type:'method',data:null,width:'10%',thclass:'center last',class:'center last',forced:'1',readParms:'sort=1'}}
Open
Open
$this->fields['field_userhide']['writeParms']['default'] = $tmp[3];
- Exclude checks
Assigning array<string></string>
to property but \user_extended_struct_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',thclass:'center',forced:'1',class:'center',toggle:'e-multiselect'},user_extended_struct_id:array{title:'ID',data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_name:array{title:'Name',type:'method',data:'str',readonly:true,width:'350px',help:'',readParms:'',writeParms:array{tdClassRight:'form-inline',pre:'user_ ',required:true},class:'left',thclass:'left'},user_extended_struct_text:array{title:'Label',type:'text',data:'str',width:'auto',inline:true,help:'',readParms:'constant=1',writeParms:array{required:true},class:'left',thclass:'left'},user_extended_struct_type:array{title:'Preview',type:'method',data:'int',width:'auto',batch:true,filter:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_values:array{title:'Values',type:'method',nolist:true,data:'str',width:'auto',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_default:array{title:'Default Value',type:'text',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_parent:array{title:'Category',type:'dropdown',tab:1,data:'int',width:'auto',batch:true,filter:true,help:'',readParms:'',writeParms:array{size:'xxlarge'},class:'left',thclass:'left'},field_placeholder:array{title:'Placeholder',tab:1,type:'text',data:false,writeParms:array{size:'xxlarge'}},field_helptip:array{title:'Help Tip',tab:1,type:'text',data:false,writeParms:array{size:'xxlarge'}},field_include:array{title:'Field include text',tab:1,type:'textarea',data:false,help:'Any valid w3c parameter may be entered here\x3cbr /\x3ee.g. \x3cb\x3e\x3ci\x3eclass=\'tbox\' size=\'40\' maxlength=\'80\'\x3c/i\x3e\x3c/b\x3e',writeParms:array{size:'xxlarge'}},field_regex:array{title:'regex validation code',tab:1,type:'text',data:false,help:'Enter the regex code that will need to be matched to make it a valid entry \x3cbr /\x3e**regex delimiters are required**',writeParms:array{size:'xxlarge'}},field_regexfail:array{title:'regex failure text',tab:1,type:'text',data:false,help:'Enter the error message that will be shown if the regex validation fails.',writeParms:array{size:'xxlarge'}},field_userhide:array{title:'Allow user to hide',tab:1,type:'boolean',data:false,help:'Setting this to yes will allow the user to hide this value from non-admins',writeParms:array{size:'xxlarge'}},user_extended_struct_required:array{title:'Required',type:'method',data:'int',width:'5%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_applicable:array{title:'Applicable',type:'userclass',data:'int',filter:true,batch:true,width:'10%',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_parms:array{title:'Params',type:'hidden',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_read:array{title:'Read access',type:'userclass',data:'int',filter:true,batch:true,width:'10%',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_write:array{title:'Write access',type:'userclass',data:'int',filter:true,batch:true,width:'10%',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_signup:array{title:'Signup',type:'hidden',nolist:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_order:array{title:'Order',type:'hidden',nolist:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},options:array{title:'Options',type:'method',data:null,width:'10%',thclass:'center last',class:'center last',forced:'1',readParms:'sort=1'}}
Open
Open
$this->fields['user_extended_struct_type']['title'] = LAN_TYPE;
- Exclude checks
Reference to undeclared constant \EUF_TEXT
Open
Open
$val_hide = ($type !== EUF_DB_FIELD && $type !== EUF_TEXT && $type !== EUF_COUNTRY ) ? "visible" : "none";
- Exclude checks
Argument 1 (no_cache)
is 'getfile'
but \e107_user_extended::parse_extended_xml()
takes bool|false
defined at /code/e107_handlers/user_extended_class.php:1527
Open
Open
$preList = $ue->parse_extended_xml('getfile');
- Exclude checks
Assigning array<string></string>
to property but \user_extended_struct_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',thclass:'center',forced:'1',class:'center',toggle:'e-multiselect'},user_extended_struct_id:array{title:'ID',data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_name:array{title:'Name',type:'method',data:'str',readonly:true,width:'350px',help:'',readParms:'',writeParms:array{tdClassRight:'form-inline',pre:'user_ ',required:true},class:'left',thclass:'left'},user_extended_struct_text:array{title:'Label',type:'text',data:'str',width:'auto',inline:true,help:'',readParms:'constant=1',writeParms:array{required:true},class:'left',thclass:'left'},user_extended_struct_type:array{title:'Preview',type:'method',data:'int',width:'auto',batch:true,filter:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_values:array{title:'Values',type:'method',nolist:true,data:'str',width:'auto',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_default:array{title:'Default Value',type:'text',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_parent:array{title:'Category',type:'dropdown',tab:1,data:'int',width:'auto',batch:true,filter:true,help:'',readParms:'',writeParms:array{size:'xxlarge'},class:'left',thclass:'left'},field_placeholder:array{title:'Placeholder',tab:1,type:'text',data:false,writeParms:array{size:'xxlarge'}},field_helptip:array{title:'Help Tip',tab:1,type:'text',data:false,writeParms:array{size:'xxlarge'}},field_include:array{title:'Field include text',tab:1,type:'textarea',data:false,help:'Any valid w3c parameter may be entered here\x3cbr /\x3ee.g. \x3cb\x3e\x3ci\x3eclass=\'tbox\' size=\'40\' maxlength=\'80\'\x3c/i\x3e\x3c/b\x3e',writeParms:array{size:'xxlarge'}},field_regex:array{title:'regex validation code',tab:1,type:'text',data:false,help:'Enter the regex code that will need to be matched to make it a valid entry \x3cbr /\x3e**regex delimiters are required**',writeParms:array{size:'xxlarge'}},field_regexfail:array{title:'regex failure text',tab:1,type:'text',data:false,help:'Enter the error message that will be shown if the regex validation fails.',writeParms:array{size:'xxlarge'}},field_userhide:array{title:'Allow user to hide',tab:1,type:'boolean',data:false,help:'Setting this to yes will allow the user to hide this value from non-admins',writeParms:array{size:'xxlarge'}},user_extended_struct_required:array{title:'Required',type:'method',data:'int',width:'5%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_applicable:array{title:'Applicable',type:'userclass',data:'int',filter:true,batch:true,width:'10%',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_parms:array{title:'Params',type:'hidden',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_read:array{title:'Read access',type:'userclass',data:'int',filter:true,batch:true,width:'10%',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_write:array{title:'Write access',type:'userclass',data:'int',filter:true,batch:true,width:'10%',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_signup:array{title:'Signup',type:'hidden',nolist:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_order:array{title:'Order',type:'hidden',nolist:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},options:array{title:'Options',type:'method',data:null,width:'10%',thclass:'center last',class:'center last',forced:'1',readParms:'sort=1'}}
Open
Open
$this->fields['field_helptip']['writeParms']['default'] = $tmp[5];
- Exclude checks
Argument 1 (no_cache)
is 'getfile'
but \e107_user_extended::parse_extended_xml()
takes bool|false
defined at /code/e107_handlers/user_extended_class.php:1527
Open
Open
$preList = $ue->parse_extended_xml('getfile');
- Exclude checks
Assigning array<string></string>
to property but \user_extended_struct_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',thclass:'center',forced:'1',class:'center',toggle:'e-multiselect'},user_extended_struct_id:array{title:'ID',data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_name:array{title:'Name',type:'method',data:'str',readonly:true,width:'350px',help:'',readParms:'',writeParms:array{tdClassRight:'form-inline',pre:'user_ ',required:true},class:'left',thclass:'left'},user_extended_struct_text:array{title:'Label',type:'text',data:'str',width:'auto',inline:true,help:'',readParms:'constant=1',writeParms:array{required:true},class:'left',thclass:'left'},user_extended_struct_type:array{title:'Preview',type:'method',data:'int',width:'auto',batch:true,filter:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_values:array{title:'Values',type:'method',nolist:true,data:'str',width:'auto',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_default:array{title:'Default Value',type:'text',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_parent:array{title:'Category',type:'dropdown',tab:1,data:'int',width:'auto',batch:true,filter:true,help:'',readParms:'',writeParms:array{size:'xxlarge'},class:'left',thclass:'left'},field_placeholder:array{title:'Placeholder',tab:1,type:'text',data:false,writeParms:array{size:'xxlarge'}},field_helptip:array{title:'Help Tip',tab:1,type:'text',data:false,writeParms:array{size:'xxlarge'}},field_include:array{title:'Field include text',tab:1,type:'textarea',data:false,help:'Any valid w3c parameter may be entered here\x3cbr /\x3ee.g. \x3cb\x3e\x3ci\x3eclass=\'tbox\' size=\'40\' maxlength=\'80\'\x3c/i\x3e\x3c/b\x3e',writeParms:array{size:'xxlarge'}},field_regex:array{title:'regex validation code',tab:1,type:'text',data:false,help:'Enter the regex code that will need to be matched to make it a valid entry \x3cbr /\x3e**regex delimiters are required**',writeParms:array{size:'xxlarge'}},field_regexfail:array{title:'regex failure text',tab:1,type:'text',data:false,help:'Enter the error message that will be shown if the regex validation fails.',writeParms:array{size:'xxlarge'}},field_userhide:array{title:'Allow user to hide',tab:1,type:'boolean',data:false,help:'Setting this to yes will allow the user to hide this value from non-admins',writeParms:array{size:'xxlarge'}},user_extended_struct_required:array{title:'Required',type:'method',data:'int',width:'5%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_applicable:array{title:'Applicable',type:'userclass',data:'int',filter:true,batch:true,width:'10%',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_parms:array{title:'Params',type:'hidden',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_read:array{title:'Read access',type:'userclass',data:'int',filter:true,batch:true,width:'10%',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_write:array{title:'Write access',type:'userclass',data:'int',filter:true,batch:true,width:'10%',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_signup:array{title:'Signup',type:'hidden',nolist:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_order:array{title:'Order',type:'hidden',nolist:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},options:array{title:'Options',type:'method',data:null,width:'10%',thclass:'center last',class:'center last',forced:'1',readParms:'sort=1'}}
Open
Open
$this->fields['field_regex']['writeParms']['default'] = $tmp[1];
- Exclude checks
Reference to undeclared constant \EUF_ADDON
Open
Open
if($curVal == EUF_ADDON)
- Exclude checks
Reference to undeclared constant \EUF_COUNTRY
Open
Open
$val_hide = ($type !== EUF_DB_FIELD && $type !== EUF_TEXT && $type !== EUF_COUNTRY ) ? "visible" : "none";
- Exclude checks
Assigning array<string assigned category></string>
to property but \user_extended_struct_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',thclass:'center',forced:'1',class:'center',toggle:'e-multiselect'},user_extended_struct_id:array{title:'ID',data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_name:array{title:'Name',type:'method',data:'str',readonly:true,width:'350px',help:'',readParms:'',writeParms:array{tdClassRight:'form-inline',pre:'user_ ',required:true},class:'left',thclass:'left'},user_extended_struct_text:array{title:'Label',type:'text',data:'str',width:'auto',inline:true,help:'',readParms:'constant=1',writeParms:array{required:true},class:'left',thclass:'left'},user_extended_struct_type:array{title:'Preview',type:'method',data:'int',width:'auto',batch:true,filter:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_values:array{title:'Values',type:'method',nolist:true,data:'str',width:'auto',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_default:array{title:'Default Value',type:'text',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_parent:array{title:'Category',type:'dropdown',tab:1,data:'int',width:'auto',batch:true,filter:true,help:'',readParms:'',writeParms:array{size:'xxlarge'},class:'left',thclass:'left'},field_placeholder:array{title:'Placeholder',tab:1,type:'text',data:false,writeParms:array{size:'xxlarge'}},field_helptip:array{title:'Help Tip',tab:1,type:'text',data:false,writeParms:array{size:'xxlarge'}},field_include:array{title:'Field include text',tab:1,type:'textarea',data:false,help:'Any valid w3c parameter may be entered here\x3cbr /\x3ee.g. \x3cb\x3e\x3ci\x3eclass=\'tbox\' size=\'40\' maxlength=\'80\'\x3c/i\x3e\x3c/b\x3e',writeParms:array{size:'xxlarge'}},field_regex:array{title:'regex validation code',tab:1,type:'text',data:false,help:'Enter the regex code that will need to be matched to make it a valid entry \x3cbr /\x3e**regex delimiters are required**',writeParms:array{size:'xxlarge'}},field_regexfail:array{title:'regex failure text',tab:1,type:'text',data:false,help:'Enter the error message that will be shown if the regex validation fails.',writeParms:array{size:'xxlarge'}},field_userhide:array{title:'Allow user to hide',tab:1,type:'boolean',data:false,help:'Setting this to yes will allow the user to hide this value from non-admins',writeParms:array{size:'xxlarge'}},user_extended_struct_required:array{title:'Required',type:'method',data:'int',width:'5%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_applicable:array{title:'Applicable',type:'userclass',data:'int',filter:true,batch:true,width:'10%',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_parms:array{title:'Params',type:'hidden',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_read:array{title:'Read access',type:'userclass',data:'int',filter:true,batch:true,width:'10%',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_write:array{title:'Write access',type:'userclass',data:'int',filter:true,batch:true,width:'10%',inline:true,help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_signup:array{title:'Signup',type:'hidden',nolist:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},user_extended_struct_order:array{title:'Order',type:'hidden',nolist:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},options:array{title:'Options',type:'method',data:null,width:'10%',thclass:'center last',class:'center last',forced:'1',readParms:'sort=1'}}
Open
Open
$this->fields['user_extended_struct_parent']['writeParms']['optArray'] = $opts;
- Exclude checks