/** * Wrapping the title of the record. * * @param string $str The title value. * @param array $row The record row. * @return string Wrapped title string. */ public function wrapRecordTitle($str, $row) { if ($GLOBALS['SOBE']->moveUid == $row['uid']) { $str = '<strong>' . $str . '</strong>'; } return parent::wrapRecordTitle($str, $row); }
/** * Wrap $t_code in bold IF the $dat uid matches $id * * @param string $t_code Title string * @param array $dat Information array with record array inside. * @param int $id The current id. * @return string The title string. */ public function boldTitle($t_code, $dat, $id) { return parent::boldTitle($t_code, $dat, $GLOBALS['SOBE']->moveUid); }