'Varchar', 'Email' => 'Varchar', 'Mobile' => 'Varchar' ); static $has_one = array ( 'Date' => 'TripDateTime', 'Trip' => 'Trip' ); static $summary_fields = array ( 'Name' => 'Name', 'Email' => 'Email', 'Mobile' => 'Mobile', 'TripLabel' => 'Trip', 'DateLabel' => 'Date' ); public function getTripLabel() { if($this->Date()) { return $this->Date()->Trip()->Title; } } public function getDateLabel() { if($this->Date()) { return $this->Date()->_Dates(); } } } ?>