e107inc/e107

View on GitHub
e107_plugins/list_new/list_admin_class.php

Summary

Maintainability
A
0 mins
Test Coverage
A
98%

Argument 3 (checked) is '0'|'1' but \e_form::checkbox() takes bool|false defined at /code/e107_handlers/form_handler.php:2685
Open

            $this->row['FIELD'] .= $frm->checkbox($this->parent->sections[$i]."_".$type."_category", 1, (vartrue($this->parent->list_pref[$this->parent->sections[$i]."_".$type."_category"]) ? "1" : "0"))." ".$this->parent->titles[$i]."<br />";

Argument 3 (checked) is '0'|'1' but \e_form::checkbox() takes bool|false defined at /code/e107_handlers/form_handler.php:2685
Open

            $this->row['FIELD'] .= $frm->checkbox($this->parent->sections[$i]."_".$type."_date", 1, (vartrue($this->parent->list_pref[$this->parent->sections[$i]."_".$type."_date"]) ? "1" : "0"))." ".$this->parent->titles[$i]."<br />";

Reference to undeclared property \list_admin->parent
Open

            $this->row['FIELD_TITLE'] = $this->parent->titles[$i];

Argument 3 (selected) is 0 but \e_form::option() takes bool|false defined at /code/e107_handlers/form_handler.php:3604
Open

                $this->row['FIELD_ITEM'] .= ($this->parent->list_pref[$this->parent->sections[$i]."_".$type."_order"] == $a ? $frm->option($a, $a, 1) : $frm->option($a, $a,  0));

Reference to undeclared property \list_admin->parent
Open

        return e107::getParser()->parseTemplate($this->parent->template[$template], false, $this->row);

Argument 3 (selected) is 1 but \e_form::option() takes bool|false defined at /code/e107_handlers/form_handler.php:3604
Open

                $this->row['FIELD_ITEM'] .= ($this->parent->list_pref[$this->parent->sections[$i]."_".$type."_amount"] == $a ? $frm->option($a, $a, 1) : $frm->option($a, $a, 0));

Reference to undeclared property \list_admin->parent
Open

            $this->row['FIELD_TITLE'] = $this->parent->titles[$i];

Reference to undeclared property \list_admin->parent
Open

            ".$frm->radio($type."_showempty", "0", ($this->parent->list_pref[$type."_showempty"] ? "0" : "1")).LIST_ADMIN_8."

Reference to undeclared property \list_admin->parent
Open

            ".$frm->radio($type."_icon_use", "1", ($this->parent->list_pref[$type."_icon_use"] ? "1" : "0")).LIST_ADMIN_7."

Reference to undeclared property \list_admin->parent
Open

            ".$frm->radio($type."_icon_use", "0", ($this->parent->list_pref[$type."_icon_use"] ? "0" : "1")).LIST_ADMIN_8."

Reference to undeclared property \list_admin->parent
Open

            ".$frm->radio($type."_icon_default", "0", ($this->parent->list_pref[$type."_icon_default"] ? "0" : "1")).LIST_ADMIN_8."

Reference to undeclared property \list_admin->parent
Open

        $this->row['FIELD'] = $frm->text($type."_char_postfix", $this->parent->list_pref[$type."_char_postfix"], 3);

Reference to undeclared property \list_admin->parent
Open

        for($i=0, $iMax = count($this->parent->sections); $i< $iMax; $i++)

Argument 3 (selected) is 1 but \e_form::option() takes bool|false defined at /code/e107_handlers/form_handler.php:3604
Open

                $this->row['FIELD_ITEM'] .= ($this->parent->list_pref[$this->parent->sections[$i]."_".$type."_order"] == $a ? $frm->option($a, $a, 1) : $frm->option($a, $a,  0));

Reference to undeclared property \list_admin->parent
Open

            ".$frm->radio($type."_icon_default", "1", ($this->parent->list_pref[$type."_icon_default"] ? "1" : "0")).LIST_ADMIN_7."

Reference to undeclared property \list_admin->parent
Open

            $this->row['FIELD'] .= $frm->checkbox($this->parent->sections[$i]."_".$type."_author", 1, (vartrue($this->parent->list_pref[$this->parent->sections[$i]."_".$type."_author"]) ? "1" : "0"))." ".$this->parent->titles[$i]."<br />";

Reference to undeclared property \list_admin->parent
Open

        $max = count($this->parent->sections);

Reference to undeclared property \list_admin->parent
Open

        $this->row['FIELD'] = $frm->text($type."_datestyle", $this->parent->list_pref[$type."_datestyle"], 50);

Reference to undeclared property \list_admin->parent
Open

            $this->row['FIELD_ITEM'] = $frm->select_open($this->parent->sections[$i]."_".$type."_order");

Reference to undeclared property \list_admin->parent
Open

            ".$frm->radio($type."_icon_default", "1", ($this->parent->list_pref[$type."_icon_default"] ? "1" : "0")).LIST_ADMIN_7."

Reference to undeclared property \list_admin->parent
Open

                ".$frm->radio($type."_timelapse", "1", ($this->parent->list_pref[$type."_timelapse"] ? "1" : "0")).LIST_ADMIN_7."

Returning type void but db_update_menu() is declared to return string
Open

        return;

Argument 3 (checked) is '0'|'1' but \e_form::checkbox() takes bool|false defined at /code/e107_handlers/form_handler.php:2685
Open

            $this->row['FIELD'] .= $frm->checkbox($this->parent->sections[$i]."_".$type."_open", 1, (vartrue($this->parent->list_pref[$this->parent->sections[$i]."_".$type."_open"]) ? "1" : "0"))." ".$this->parent->titles[$i]."<br />";

Reference to undeclared property \list_admin->parent
Open

            $this->row['FIELD_ITEM'] = $frm->select_open($this->parent->sections[$i]."_".$type."_amount");

Argument 3 (selected) is 0 but \e_form::option() takes bool|false defined at /code/e107_handlers/form_handler.php:3604
Open

                $this->row['FIELD_ITEM'] .= ($this->parent->list_pref[$this->parent->sections[$i]."_".$type."_amount"] == $a ? $frm->option($a, $a, 1) : $frm->option($a, $a, 0));

Reference to undeclared property \list_admin->parent
Open

                $this->row['FIELD_ITEM'] .= ($this->parent->list_pref[$this->parent->sections[$i]."_".$type."_amount"] == $a ? $frm->option($a, $a, 1) : $frm->option($a, $a, 0));

Reference to undeclared property \list_admin->parent
Open

        $this->row['FIELD'] = $frm->text($type."_char_heading", $this->parent->list_pref[$type."_char_heading"], 3);

Reference to undeclared property \list_admin->parent
Open

        $this->row['FIELD'] = $frm->text($type."_datestyletoday",$this->parent->list_pref[$type."_datestyletoday"], 50);

Argument 2 (parseBB) is '' but \e_parse::toHTML() takes bool|false defined at /code/e107_handlers/e_parse_class.php:1532
Open

        $this->row['FIELD'] = $frm->textarea($type."_welcometext", $tp->toHTML($this->parent->list_pref[$type."_welcometext"],"","defs"), 5, 50);

Reference to undeclared property \list_admin->parent
Open

            ".$frm->radio($type."_openifrecords", "0", ($this->parent->list_pref[$type."_openifrecords"] ? "0" : "1")).LIST_ADMIN_8."

Reference to undeclared property \list_admin->parent
Open

            $this->row['FIELD_ITEM'] = $frm->text($this->parent->sections[$i]."_".$type."_caption", e107::getParser()->toHTML($this->parent->list_pref[$this->parent->sections[$i]."_".$type."_caption"],"","defs"), 50);

Reference to undeclared property \list_admin->parent
Open

        $this->row['FIELD'] = $frm->text($type."_caption", $tp->toHTML($this->parent->list_pref[$type."_caption"],"","defs"), 50);

Reference to undeclared property \list_admin->parent
Open

            ".$frm->radio($type."_openifrecords", "1", ($this->parent->list_pref[$type."_openifrecords"] ? "1" : "0")).LIST_ADMIN_7."

Reference to undeclared property \list_admin->parent
Open

            $this->row['FIELD_TITLE'] = $this->parent->titles[$i];

Reference to undeclared property \list_admin->parent
Open

        for($i=0, $iMax = count($this->parent->sections); $i< $iMax; $i++)

Reference to undeclared property \list_admin->parent
Open

            ".$frm->radio($type."_icon_use", "0", ($this->parent->list_pref[$type."_icon_use"] ? "0" : "1")).LIST_ADMIN_8."

Reference to undeclared property \list_admin->parent
Open

        $this->row['FIELD'] = $frm->text($type."_datestyletoday", $this->parent->list_pref[$type."_datestyletoday"], 50);

Argument 3 (selected) is 1 but \e_form::option() takes bool|false defined at /code/e107_handlers/form_handler.php:3604
Open

                $this->row['FIELD'] .= ($this->parent->list_pref[$type."_colomn"] == $a ? $frm->option($a, $a, 1) : $frm->option($a, $a, 0));

Reference to undeclared property \list_admin->parent
Open

            $this->row['FIELD'] .= $frm->checkbox($this->parent->sections[$i]."_".$type."_open", 1, (vartrue($this->parent->list_pref[$this->parent->sections[$i]."_".$type."_open"]) ? "1" : "0"))." ".$this->parent->titles[$i]."<br />";

Reference to undeclared property \list_admin->parent
Open

            $name = $this->parent->sections[$i]."_".$type."_icon";

Reference to undeclared property \list_admin->parent
Open

            $curVal = $this->parent->list_pref[$this->parent->sections[$i]."_".$type."_icon"];

Reference to undeclared property \list_admin->parent
Open

                $this->row['FIELD_ITEM'] .= ($this->parent->list_pref[$this->parent->sections[$i]."_".$type."_order"] == $a ? $frm->option($a, $a, 1) : $frm->option($a, $a,  0));

Reference to undeclared property \list_admin->parent
Open

        for($i=0, $iMax = count($this->parent->sections); $i< $iMax; $i++)

Argument 2 (parseBB) is '' but \e_parse::toHTML() takes bool|false defined at /code/e107_handlers/e_parse_class.php:1532
Open

            $this->row['FIELD_ITEM'] = $frm->text($this->parent->sections[$i]."_".$type."_caption", e107::getParser()->toHTML($this->parent->list_pref[$this->parent->sections[$i]."_".$type."_caption"],"","defs"), 50);

Argument 2 (parseBB) is '' but \e_parse::toHTML() takes bool|false defined at /code/e107_handlers/e_parse_class.php:1532
Open

        $this->row['FIELD'] = $frm->text($type."_caption", $tp->toHTML($this->parent->list_pref[$type."_caption"],"","defs"), 50);

Reference to undeclared property \list_admin->parent
Open

            ".$frm->radio($type."_icon_use", "1", ($this->parent->list_pref[$type."_icon_use"] ? "1" : "0")).LIST_ADMIN_7."

Reference to undeclared property \list_admin->parent
Open

            ".$frm->radio($type."_showempty", "1", ($this->parent->list_pref[$type."_showempty"] ? "1" : "0")).LIST_ADMIN_7."

Reference to undeclared property \list_admin->parent
Open

            for($a=1, $aMax = count($this->parent->sections); $a<= $aMax; $a++)

Reference to undeclared property \list_admin->parent
Open

                $this->row['FIELD'] .= ($this->parent->list_pref[$type."_colomn"] == $a ? $frm->option($a, $a, 1) : $frm->option($a, $a, 0));

Reference to undeclared property \list_admin->parent
Open

            $this->row['FIELD'] = $frm->text($type."_timelapse_days", $this->parent->list_pref[$type."_timelapse_days"],3)." ".LIST_ADMIN_LAN_35;

Reference to undeclared property \list_admin->parent
Open

            $this->row['FIELD'] .= $frm->checkbox($this->parent->sections[$i]."_".$type."_date", 1, (vartrue($this->parent->list_pref[$this->parent->sections[$i]."_".$type."_date"]) ? "1" : "0"))." ".$this->parent->titles[$i]."<br />";

Reference to undeclared property \list_admin->parent
Open

        for($i=0, $iMax = count($this->parent->sections); $i< $iMax; $i++)

Reference to undeclared property \list_admin->parent
Open

            ".$frm->radio($type."_icon_default", "0", ($this->parent->list_pref[$type."_icon_default"] ? "0" : "1")).LIST_ADMIN_8."

Reference to undeclared property \list_admin->parent
Open

            ".$frm->radio($type."_openifrecords", "0", ($this->parent->list_pref[$type."_openifrecords"] ? "0" : "1")).LIST_ADMIN_8."

Reference to undeclared property \list_admin->parent
Open

            ".$frm->radio($type."_openifrecords", "1", ($this->parent->list_pref[$type."_openifrecords"] ? "1" : "0")).LIST_ADMIN_7."

Returning type null but parseTemplate() is declared to return string
Open

            return null;

Reference to undeclared property \list_admin->parent
Open

        $iconlist = $fl->get_files($this->parent->plugin_dir."images/");

Reference to undeclared property \list_admin->parent
Open

        for($i=0, $iMax = count($this->parent->sections); $i< $iMax; $i++)

Reference to undeclared property \list_admin->e107
Open

        $this->e107 = e107::getInstance();

Reference to undeclared property \list_admin->parent
Open

            $this->row['FIELD'] .= $frm->checkbox($this->parent->sections[$i]."_".$type."_display", 1, (vartrue($this->parent->list_pref[$this->parent->sections[$i]."_".$type."_display"]) ? "1" : "0"))." ".$this->parent->titles[$i]."<br />";

Reference to undeclared property \list_admin->parent
Open

        for($i=0, $iMax = count($this->parent->sections); $i< $iMax; $i++)

Argument 3 (checked) is '0'|'1' but \e_form::checkbox() takes bool|false defined at /code/e107_handlers/form_handler.php:2685
Open

            $this->row['FIELD'] .= $frm->checkbox($this->parent->sections[$i]."_".$type."_author", 1, (vartrue($this->parent->list_pref[$this->parent->sections[$i]."_".$type."_author"]) ? "1" : "0"))." ".$this->parent->titles[$i]."<br />";

Reference to undeclared property \list_admin->parent
Open

        for($i=0, $iMax = count($this->parent->sections); $i< $iMax; $i++)

Reference to undeclared property \list_admin->parent
Open

        $this->row['FIELD'] = $frm->text($type."_char_heading", $this->parent->list_pref[$type."_char_heading"], 3);

Argument 3 (selected) is 0 but \e_form::option() takes bool|false defined at /code/e107_handlers/form_handler.php:3604
Open

                $this->row['FIELD'] .= ($this->parent->list_pref[$type."_colomn"] == $a ? $frm->option($a, $a, 1) : $frm->option($a, $a, 0));

Reference to undeclared property \list_admin->parent
Open

        if(empty($this->parent->template[$template]))

Reference to undeclared property \list_admin->parent (Did you mean $parent)
Open

        $this->parent = $parent;

Reference to undeclared property \list_admin->parent
Open

            $this->row['FIELD_TITLE'] = $this->parent->titles[$i];

Reference to undeclared property \list_admin->parent
Open

        $this->row['FIELD'] = $frm->text($type."_datestyle", $this->parent->list_pref[$type."_datestyle"], 50);

Argument 2 (parseBB) is '' but \e_parse::toHTML() takes bool|false defined at /code/e107_handlers/e_parse_class.php:1532
Open

        $this->row['FIELD'] = $frm->text($type."_caption", $tp->toHTML($this->parent->list_pref[$type."_caption"],"","defs"), 50);

Reference to undeclared property \list_admin->parent
Open

            ".$frm->radio($type."_showempty", "0", ($this->parent->list_pref[$type."_showempty"] ? "0" : "1")).LIST_ADMIN_8."

Reference to undeclared property \list_admin->parent
Open

                ".$frm->radio($type."_timelapse", "0", ($this->parent->list_pref[$type."_timelapse"] ? "0" : "1")).LIST_ADMIN_8."

Reference to undeclared property \list_admin->parent
Open

        for($i=0, $iMax = count($this->parent->sections); $i< $iMax; $i++)

Reference to undeclared property \list_admin->parent
Open

            ".$frm->radio($type."_showempty", "1", ($this->parent->list_pref[$type."_showempty"] ? "1" : "0")).LIST_ADMIN_7."

Parameter $parent has undeclared type \list_admin_class
Open

    function __construct($parent)

Argument 3 (checked) is '0'|'1' but \e_form::checkbox() takes bool|false defined at /code/e107_handlers/form_handler.php:2685
Open

            $this->row['FIELD'] .= $frm->checkbox($this->parent->sections[$i]."_".$type."_display", 1, (vartrue($this->parent->list_pref[$this->parent->sections[$i]."_".$type."_display"]) ? "1" : "0"))." ".$this->parent->titles[$i]."<br />";

Reference to undeclared property \list_admin->parent
Open

            $this->row['FIELD'] .= $frm->checkbox($this->parent->sections[$i]."_".$type."_category", 1, (vartrue($this->parent->list_pref[$this->parent->sections[$i]."_".$type."_category"]) ? "1" : "0"))." ".$this->parent->titles[$i]."<br />";

Reference to undeclared property \list_admin->parent
Open

        for($i=0, $iMax = count($this->parent->sections); $i< $iMax; $i++)

Reference to undeclared property \list_admin->parent
Open

        $this->row['FIELD'] = $frm->text($type."_char_postfix", $this->parent->list_pref[$type."_char_postfix"], 3);

Reference to undeclared property \list_admin->parent
Open

        $this->row['FIELD'] = $frm->text($type."_caption", $tp->toHTML($this->parent->list_pref[$type."_caption"],"","defs"), 50);

Reference to undeclared property \list_admin->parent
Open

        $this->row['FIELD'] = $frm->textarea($type."_welcometext", $tp->toHTML($this->parent->list_pref[$type."_welcometext"],"","defs"), 5, 50);

There are no issues that match your filters.

Category
Status