id; } function getUrl() { return Router::url('/resources/get/' . $this->id); } function getThumbnail() { return WWW_ROOT . 'thumbnails/res_' . $this->id . '.png'; } function getThumbnailUrl() { return Router::url('/resources/thumbnail/' . $this->id); } function getSlideshow() { return Router::url('/resources/slideshow/' . $this->id); } }