e107_plugins/faqs/admin_config.php
Call to undeclared method \e_admin_ui::getFaqCategoryTree
Open
Open
return $controller->getFaqCategoryTree();
- Exclude checks
Assigning array<string></string>
to property but \faq_main_ui->fields
is array{checkboxes:array{title:'',type:null,width:'5%',forced:true,thclass:'center',class:'center'},faq_id:array{title:'ID',tab:0,type:null,width:'5%',forced:true},faq_question:array{title:'Question',tab:0,type:'text',data:'str',width:'auto',thclass:'left first',required:true,readParms:'editable=1',writeParms:'maxlength=1000&size=block-level'},faq_answer:array{title:'Answer',tab:0,type:'bbarea',data:'str',width:'30%',readParms:'expand=1&truncate=50&bb=1'},faq_parent:array{title:'Category',tab:0,type:'dropdown',data:'int',inline:true,width:'10%',filter:true,batch:true},faq_tags:array{title:'Tags',tab:1,type:'tags',data:'str',width:'auto',inline:true,help:'Comma separated tag list'},faq_comment:array{title:'Comment Class',tab:1,type:'userclass',data:'int',width:'auto',inline:true},faq_datestamp:array{title:'Date',tab:1,type:'datestamp',data:'int',width:'auto',noedit:false,writeParms:'type=datetime&auto=1',batch:true},faq_author:array{title:'Author',tab:1,type:'user',data:'int',width:'auto',thclass:'center',class:'center',writeParms:'currentInit=1',filter:true,batch:true,nolist:true},faq_author_ip:array{title:'IP',tab:1,type:'ip',readonly:2,data:'str',width:'auto',thclass:'center',class:'center',writeParms:'currentInit=1',filter:true,batch:true,nolist:true},u.user_name:array{title:'User',tab:1,type:'user',width:'auto',noedit:true,readParms:'idField=faq_author&link=1'},u.user_loginname:array{title:'User login',tab:1,type:'user',width:'auto',noedit:true,readParms:'idField=faq_author&link=1'},faq_order:array{title:'Order',tab:1,type:'number',data:'int',width:'5%',thclass:'center',nolist:false,noedit:false,readParms:'editable=1'},options:array{title:'Options',type:null,forced:true,width:'10%',thclass:'center last',class:'center',readParms:array{sort:1}},pending:array{title:'internal',type:'hidden',data:false,writeParms:array{}}}
Open
Open
$this->fields['options']['readParms']['sort'] = 0;
- Exclude checks
Default value for int
$id
can't be false
Open
Open
function getFaqCategoryTree($id = false, $default = 'n/a')
- Exclude checks
Assigning array<string></string>
to property but \faq_main_ui->fields
is array{checkboxes:array{title:'',type:null,width:'5%',forced:true,thclass:'center',class:'center'},faq_id:array{title:'ID',tab:0,type:null,width:'5%',forced:true},faq_question:array{title:'Question',tab:0,type:'text',data:'str',width:'auto',thclass:'left first',required:true,readParms:'editable=1',writeParms:'maxlength=1000&size=block-level'},faq_answer:array{title:'Answer',tab:0,type:'bbarea',data:'str',width:'30%',readParms:'expand=1&truncate=50&bb=1'},faq_parent:array{title:'Category',tab:0,type:'dropdown',data:'int',inline:true,width:'10%',filter:true,batch:true},faq_tags:array{title:'Tags',tab:1,type:'tags',data:'str',width:'auto',inline:true,help:'Comma separated tag list'},faq_comment:array{title:'Comment Class',tab:1,type:'userclass',data:'int',width:'auto',inline:true},faq_datestamp:array{title:'Date',tab:1,type:'datestamp',data:'int',width:'auto',noedit:false,writeParms:'type=datetime&auto=1',batch:true},faq_author:array{title:'Author',tab:1,type:'user',data:'int',width:'auto',thclass:'center',class:'center',writeParms:'currentInit=1',filter:true,batch:true,nolist:true},faq_author_ip:array{title:'IP',tab:1,type:'ip',readonly:2,data:'str',width:'auto',thclass:'center',class:'center',writeParms:'currentInit=1',filter:true,batch:true,nolist:true},u.user_name:array{title:'User',tab:1,type:'user',width:'auto',noedit:true,readParms:'idField=faq_author&link=1'},u.user_loginname:array{title:'User login',tab:1,type:'user',width:'auto',noedit:true,readParms:'idField=faq_author&link=1'},faq_order:array{title:'Order',tab:1,type:'number',data:'int',width:'5%',thclass:'center',nolist:false,noedit:false,readParms:'editable=1'},options:array{title:'Options',type:null,forced:true,width:'10%',thclass:'center last',class:'center',readParms:array{sort:1}},pending:array{title:'internal',type:'hidden',data:false,writeParms:array{}}}
Open
Open
$this->fields['pending']['writeParms']['value'] = ($_GET['filter'] == 'pending') ? 1 : 0;
- Exclude checks
Saw unextractable annotation for comment '* @return'
Open
Open
* @return
- Exclude checks
Call to undeclared method \e_admin_ui::getFaqCategoryTree
Open
Open
return $this->select('faq_info_parent', $controller->getFaqCategoryTree(), $curVal);
- Exclude checks
Assigning array<string>></string>
to property but \faq_admin->adminMenu
is array{main/list:array{caption:'Manage',perm:'P'},main/create:array{caption:'Create Item',perm:'P'},main/pending:array{caption:'Unanswered',perm:'P',uri:'admin_config.php?mode=main&action=list&filter=pending'},cat/list:array{caption:'Categories',perm:'P'},cat/create:array{caption:'Create Category',perm:'P'},main/prefs:array{caption:'Preferences',perm:'0'}}
Open
Open
$this->adminMenu['main/'.$action]['selected'] = true;
- Exclude checks
Assigning false
to property but \faq_main_ui->sortField
is string
Open
Open
$this->sortField = false;
- Exclude checks
Variable $pending
is undeclared Open
Open
return $this->select('faq_parent', $controller->getFaqCategoryTree(), $curVal).$this->hidden('pending', $pending);
- Exclude checks
Argument 3 (selected)
is int
but \faq_admin_form_ui::select()
takes bool|false
defined at /code/e107_handlers/form_handler.php:3325
Open
Open
return $this->select('faq_parent', $controller->getFaqCategoryTree(), $curVal).$this->hidden('pending', $pending);
- Exclude checks
Assigning array<string></string>
to property but \faq_main_ui->fields
is array{checkboxes:array{title:'',type:null,width:'5%',forced:true,thclass:'center',class:'center'},faq_id:array{title:'ID',tab:0,type:null,width:'5%',forced:true},faq_question:array{title:'Question',tab:0,type:'text',data:'str',width:'auto',thclass:'left first',required:true,readParms:'editable=1',writeParms:'maxlength=1000&size=block-level'},faq_answer:array{title:'Answer',tab:0,type:'bbarea',data:'str',width:'30%',readParms:'expand=1&truncate=50&bb=1'},faq_parent:array{title:'Category',tab:0,type:'dropdown',data:'int',inline:true,width:'10%',filter:true,batch:true},faq_tags:array{title:'Tags',tab:1,type:'tags',data:'str',width:'auto',inline:true,help:'Comma separated tag list'},faq_comment:array{title:'Comment Class',tab:1,type:'userclass',data:'int',width:'auto',inline:true},faq_datestamp:array{title:'Date',tab:1,type:'datestamp',data:'int',width:'auto',noedit:false,writeParms:'type=datetime&auto=1',batch:true},faq_author:array{title:'Author',tab:1,type:'user',data:'int',width:'auto',thclass:'center',class:'center',writeParms:'currentInit=1',filter:true,batch:true,nolist:true},faq_author_ip:array{title:'IP',tab:1,type:'ip',readonly:2,data:'str',width:'auto',thclass:'center',class:'center',writeParms:'currentInit=1',filter:true,batch:true,nolist:true},u.user_name:array{title:'User',tab:1,type:'user',width:'auto',noedit:true,readParms:'idField=faq_author&link=1'},u.user_loginname:array{title:'User login',tab:1,type:'user',width:'auto',noedit:true,readParms:'idField=faq_author&link=1'},faq_order:array{title:'Order',tab:1,type:'number',data:'int',width:'5%',thclass:'center',nolist:false,noedit:false,readParms:'editable=1'},options:array{title:'Options',type:null,forced:true,width:'10%',thclass:'center last',class:'center',readParms:array{sort:1}},pending:array{title:'internal',type:'hidden',data:false,writeParms:array{}}}
Open
Open
$this->fields['faq_parent']['writeParms'] = $this->categories;
- Exclude checks
Call to undeclared method \e_admin_ui::getFaqCategoryTree
Open
Open
return $this->select('faq_parent', $controller->getFaqCategoryTree(), $curVal).$this->hidden('pending', $pending);
- Exclude checks
Assigning array<string>|array{}}></string>
to property but \faq_cat_ui->fields
is array{checkboxes:array{title:'',type:null,width:'5%',forced:true,thclass:'center',class:'center'},faq_info_icon:array{title:'Icon',type:'icon',width:'5%',thclass:'left',writeParms:'glyphs=1'},faq_info_id:array{title:'ID',type:'number',width:'5%',forced:true},faq_info_title:array{title:'Title',type:'text',width:'auto',thclass:'left',readParms:'editable=1'},faq_info_about:array{title:'Description',type:'bbarea',width:'30%',readParms:'expand=...&truncate=50&bb=1'},faq_info_parent:array{title:'Category',type:'dropdown',width:'5%',writeParms:''},faq_info_class:array{title:'Visibility',type:'userclass',width:'auto',data:'int',inline:true},faq_info_metad:array{title:'Meta Description',type:'text',width:'auto',thclass:'left',readParms:'editable=1'},faq_info_metak:array{title:'Meta Keywords',type:'tags',width:'auto',thclass:'left',readParms:'editable=1'},faq_info_sef:array{title:'SEF URL',type:'text',width:'auto',thclass:'left',inline:true,writeParms:'size=xxlarge'},faq_info_order:array{title:'Order',type:'number',width:'5%',thclass:'left'},options:array{title:'Options',type:null,width:'10%',forced:true,thclass:'center last',class:'center',readParms:array{sort:1}}}
Open
Open
$this->fields['faq_info_parent']['writeParms'] = $this->categories;
- Exclude checks
Call to undeclared method \e_admin_ui::getFaqCategoryTree
Open
Open
return e107::getParser()->toHTML($controller->getFaqCategoryTree($curVal), false, 'TITLE');
- Exclude checks
Assigning array<string></string>
to property but \faq_main_ui->fields
is array{checkboxes:array{title:'',type:null,width:'5%',forced:true,thclass:'center',class:'center'},faq_id:array{title:'ID',tab:0,type:null,width:'5%',forced:true},faq_question:array{title:'Question',tab:0,type:'text',data:'str',width:'auto',thclass:'left first',required:true,readParms:'editable=1',writeParms:'maxlength=1000&size=block-level'},faq_answer:array{title:'Answer',tab:0,type:'bbarea',data:'str',width:'30%',readParms:'expand=1&truncate=50&bb=1'},faq_parent:array{title:'Category',tab:0,type:'dropdown',data:'int',inline:true,width:'10%',filter:true,batch:true},faq_tags:array{title:'Tags',tab:1,type:'tags',data:'str',width:'auto',inline:true,help:'Comma separated tag list'},faq_comment:array{title:'Comment Class',tab:1,type:'userclass',data:'int',width:'auto',inline:true},faq_datestamp:array{title:'Date',tab:1,type:'datestamp',data:'int',width:'auto',noedit:false,writeParms:'type=datetime&auto=1',batch:true},faq_author:array{title:'Author',tab:1,type:'user',data:'int',width:'auto',thclass:'center',class:'center',writeParms:'currentInit=1',filter:true,batch:true,nolist:true},faq_author_ip:array{title:'IP',tab:1,type:'ip',readonly:2,data:'str',width:'auto',thclass:'center',class:'center',writeParms:'currentInit=1',filter:true,batch:true,nolist:true},u.user_name:array{title:'User',tab:1,type:'user',width:'auto',noedit:true,readParms:'idField=faq_author&link=1'},u.user_loginname:array{title:'User login',tab:1,type:'user',width:'auto',noedit:true,readParms:'idField=faq_author&link=1'},faq_order:array{title:'Order',tab:1,type:'number',data:'int',width:'5%',thclass:'center',nolist:false,noedit:false,readParms:'editable=1'},options:array{title:'Options',type:null,forced:true,width:'10%',thclass:'center last',class:'center',readParms:array{sort:1}},pending:array{title:'internal',type:'hidden',data:false,writeParms:array{}}}
Open
Open
$this->fields['options']['readParms'] = '';
- Exclude checks
Call to undeclared method \e_admin_ui::getFaqCategoryTree
Open
Open
return e107::getParser()->toHTML($controller->getFaqCategoryTree($curVal), false, 'TITLE');
- Exclude checks
Assigning array<string languages></string>
to property but \faq_main_ui->prefs
is array{add_faq:array{title:'Allow submitting of FAQs by:',tab:1,type:'userclass'},submit_question:array{title:'\'Ask a Question\' is limited to',tab:1,type:'userclass'},submit_question_limit:array{title:'\'Ask a Question\' limit per user',tab:1,type:'number',data:'int',help:'0 = no limit'},submit_question_char_limit:array{title:'\'Ask a Question\' character limit',tab:1,type:'number',data:'int',help:'0 = no limit',writeParms:array{max:255,default:255}},submit_question_char_min:array{title:'Ask a Question: character min length',tab:1,type:'number',data:'int',help:'0 = no limit',writeParms:array{default:20}},submit_question_language:array{title:'\'Ask a Question\' limited to',tab:1,type:'dropdown'},submit_question_acknowledgement:array{title:'Submitted Questions Acknowledgement',tab:1,type:'textarea',help:'Leave blank to use default'},classic_look:array{title:'Use Classic Layout',tab:0,type:'boolean'},list_type:array{title:'List Type',tab:0,type:'dropdown',writeParms:array{ul:'Unordered List',ol:'Ordered List'}},page_title:array{title:'Page Title',tab:0,type:'text',multilan:true,help:'Leave blank to use default'},new:array{title:'\'New\' FAQs are no more than',tab:0,type:'number',writeParms:'size=mini&default=0&post=days old',help:'Leave blank to use default'},display_total:array{title:'Display FAQ total',tab:0,type:'boolean',data:'int'},display_datestamp:array{title:'Display Datestamp',tab:0,type:'boolean',data:'int'},display_social:array{title:'Display Social buttons',tab:0,type:'boolean',data:'int'},orderby:array{title:'Order',tab:0,type:'dropdown',writeParms:array{faq_order-ASC:'Specified Order',faq_id-ASC:'Ascending by ID',faq_id-DESC:'Descending by ID',faq_datestamp-ASC:'Ascending by Date',faq_datestamp-DESC:'Descending by Date'}},admin_faq_create:array{title:'Create Item',tab:2,type:'userclass',writeParms:'default=254&classlist=main,admin,classes,no-excludes'},admin_faq_edit:array{title:'Edit',tab:2,type:'userclass',writeParms:'default=254&classlist=main,admin,classes,no-excludes'},admin_faq_delete:array{title:'Delete',tab:2,type:'userclass',writeParms:'default=254&classlist=main,admin,classes,no-excludes'},admin_cat_create:array{title:'Create Category',tab:3,type:'userclass',writeParms:'default=254&classlist=main,admin,classes,no-excludes'},admin_cat_edit:array{title:'Edit',tab:3,type:'userclass',writeParms:'default=254&classlist=main,admin,classes,no-excludes'},admin_cat_delete:array{title:'Delete',tab:3,type:'userclass',writeParms:'default=254&classlist=main,admin,classes,no-excludes'}}
Open
Open
$this->prefs['submit_question_language']['writeParms'] = array(0=> 'English', 1=>LANA_FAQ_PREF_17);//TODO - Site Language?
- Exclude checks
Call to undeclared method \e_admin_ui::getFaqCategoryTree
Open
Open
return $controller->getFaqCategoryTree();
- Exclude checks