public function addNumberOfRows(string $report_name, int $num_rows) {
		$this->addSeparator($report_name);
		$this->addLegend($report_name, i18n(null, \Object\Content\Messages::REPORT_ROWS_NUMBER, ['replace' => ['[Number]' => \Format::id($num_rows)]]));
		// we need to trigger form update
		if (!empty($this->form)) {
			$this->form->misc_settings['report']['num_rows'] = $num_rows;
		}
	}
public function addNumberOfRows(string $report_name, int $num_rows) {
		$this->addSeparator($report_name);
		$this->addLegend($report_name, i18n(null, \Object\Content\Messages::REPORT_ROWS_NUMBER, ['replace' => ['[Number]' => \Format::id($num_rows)]]));
		// we need to trigger form update
		if (!empty($this->form)) {
			$this->form->misc_settings['report']['num_rows'] = $num_rows;
		}
	}
public function addNumberOfRows ( string $ report_name , int $ num_rows ) { $ this -> addSeparator ( $ report_name ) ; $ this -> addLegend ( $ report_name , i18n ( null , \ Object \ Content \ Messages :: REPORT_ROWS_NUMBER , [ 'replace' => [ '[Number]' => \ Format :: id ( $ num_rows ) ] ] ) ) ; // we need to trigger form update if ( ! empty ( $ this -> form ) ) { $ this -> form -> misc_settings [ 'report' ] [ 'num_rows' ] = $ num_rows ; } }
Add number of rows

@param string $report_name
@param int $num_rows
Add number of rows