This topic is locked

BeforeMoveNextList $record with span

5/8/2015 8:26:57 AM
PHPRunner General questions
A
aalekizoglou author

PHPRunner 8.0 (Build 23092) in list.php function BeforeMoveNextList(&$data, &$row, &$record, &$pageObject)
the $record array contains <span> mark. In list.php the function is called after the [size="2"]addSpansForGridCells. [/size]



$this->addSpansForGridCells('edit', $record, $data);
if($this->eventExists("BeforeMoveNextList"))

$this->eventsObject->BeforeMoveNextList($data, $row, $record, $this);


[size="2"]In that way it is [/size][size="2"]difficult[/size][size="2"] to change $record fields. Should that be[/size]



if($this->eventExists("BeforeMoveNextList"))
$this->eventsObject->BeforeMoveNextList($data, $row, $record, $this);
$this->addSpansForGridCells('edit', $record, $data);