Private/Polyfony/Record.php
public function tget(string $column, int $length=32) {
		// we get the raw value, truncate it, and escape it afterwards
		return strlen($this->get($column, true)) > $length ? 
			Format::htmlSafe(
				Format::truncate(
					$this->get($column, true),
					$length
				)
			) : 
			$this->get($column);
	}
public function tget(string $column, int $length=32) {
		// we get the raw value, truncate it, and escape it afterwards
		return strlen($this->get($column, true)) > $length ? 
			Format::htmlSafe(
				Format::truncate(
					$this->get($column, true),
					$length
				)
			) : 
			$this->get($column);
	}
public function tget ( string $ column , int $ length = 32 ) { // we get the raw value, truncate it, and escape it afterwards return strlen ( $ this -> get ( $ column , true ) ) > $ length ? Format :: htmlSafe ( Format :: truncate ( $ this -> get ( $ column , true ) , $ length ) ) : $ this -> get ( $ column ) ; }
get a truncated field, that is safe to place in a HTML document
get a truncated field that is safe to place in a HTML document