. */ class PersonsModified extends Persons { private $showshort = false; public function __construct($dummy=0) { $this->name = "Modified"; } public function get_print_name() { return "Modification date"; } public function get_print_name_short() { $this->showshort = true; return "Modification date"; } public function display($value, $PersonID=0, &$allvalues="") { if( $this->showshort ) return get_date(substr($value, 0, 10)); else return get_date($value); } public function displaytitle($value) { if( $this->showshort ) return substr($value, 11, 8); else return ""; } } ?>