function __construct($arr = null, $arr_pre = "t_") { parent::__construct($arr, $arr_pre); $this->date = strtotime($this->date); $this->time = TrainingLog::getSecondsFromFormat($this->time); //$this->route = new Route($arr); }