$parser = isset($opt['parser']) ? $opt['parser'] : true;
$call = null;
+ //
+ // Decrypt
+ //
if ($parser) $this->db()->table_row_decrypt($this,$row);
+
+ //
+ // Pre
+ //
if ($parser and !empty($this->db()->row_parse_pre)) {
- $call = $this->db()->row_parse_pre; $call($row);
+ $call = $this->db()->row_parse_pre; $call($row,$this);
}
if ($parser and !empty($this->row_parse_pre)) {
- $call = $this->row_parse_pre; $call($row);
+ $call = $this->row_parse_pre; $call($row,$this);
}
+ //
+ // Format
+ //
if ($opt['is_html'] and !$opt['use_out']) {
foreach ($row as $k=>$v) {
if (!isset($this->extras[$k])) $row[$k] = $this->db()->out->format($v);
}
+ //
+ // Post
+ //
if ($parser and !empty($this->row_parse_post)) {
- $call = $this->row_parse_post; $call($row);
+ $call = $this->row_parse_post; $call($row,$this);
}
if ($parser and !empty($this->db()->row_parse_post)) {
- $call = $this->db()->row_parse_post; $call($row);
+ $call = $this->db()->row_parse_post; $call($row,$this);
}
# Passed param on rows()
if ($parser and !empty($opt['row_parse_post'])) {
- $call = $opt['row_parse_post']; $call($row);
+ $call = $opt['row_parse_post']; $call($row,$this);
}
return $call;