lib/db/cortex.php
public function virtual($key, $val) {
		$this->vFields[$key]=$val;
		if (!empty($this->whitelist)) {
			$this->whitelist[] = $key;
			$this->whitelist = array_unique($this->whitelist);
		}
	}
public function virtual($key, $val) {
		$this->vFields[$key]=$val;
		if (!empty($this->whitelist)) {
			$this->whitelist[] = $key;
			$this->whitelist = array_unique($this->whitelist);
		}
	}
public function virtual ( $ key , $ val ) { $ this -> vFields [ $ key ] = $ val ; if ( ! empty ( $ this -> whitelist ) ) { $ this -> whitelist [ ] = $ key ; $ this -> whitelist = array_unique ( $ this -> whitelist ) ; } }
virtual mapper field setter
@param string $key
@param mixed|callback $val
virtual mapper field setter