[Phphtmllib-devel] SF.net SVN: phphtmllib:[3577] branches/BRANCH_2_X/phphtmllib
Status: Beta
Brought to you by:
hemna
From: <mpw...@us...> - 2015-05-19 01:09:38
|
Revision: 3577 http://sourceforge.net/p/phphtmllib/svn/3577 Author: mpwalsh8 Date: 2015-05-19 01:09:35 +0000 (Tue, 19 May 2015) Log Message: ----------- Resolved a number of PHP Strict Standard notices resulting from calling non-static functions statically and/or mismatched method signatures between parent and child classes. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/form/FormValidation.inc branches/BRANCH_2_X/phphtmllib/widgets/data_list/DataList.inc Modified: branches/BRANCH_2_X/phphtmllib/form/FormValidation.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/form/FormValidation.inc 2013-09-30 14:58:27 UTC (rev 3576) +++ branches/BRANCH_2_X/phphtmllib/form/FormValidation.inc 2015-05-19 01:09:35 UTC (rev 3577) @@ -67,7 +67,7 @@ * * @return FormValidation object */ - function &singleton() { + static function &singleton() { static $obj=NULL; if (is_null($obj)) { Modified: branches/BRANCH_2_X/phphtmllib/widgets/data_list/DataList.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/widgets/data_list/DataList.inc 2013-09-30 14:58:27 UTC (rev 3576) +++ branches/BRANCH_2_X/phphtmllib/widgets/data_list/DataList.inc 2015-05-19 01:09:35 UTC (rev 3577) @@ -350,7 +350,7 @@ * widget * */ - function render($indent_level, $output_debug) { + function render($indent_level=0, $output_debug=0) { //setup the columns in their sorts $this->setup_columns(); @@ -563,7 +563,7 @@ * is the last cell for the current row. * */ - function child_add_row_cell($obj, $col_name, $last_in_row_flag) { + function child_add_row_cell($obj, $col_name, $last_in_row_flag, $row_data, $even_row) { user_error("DataList::child_add_row_cell() - ". "child class must override this method ". "to build the object that will be the ". This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |