protected function set_body_data() { parent::set_body_data(); $this->set_body('view', 'Listing'); $this->set_body('data', $this->get_list_body_data()); }
protected function set_body_data($page_type = 'wide') { parent::set_body_data($page_type); $photo = PhotoCollector::getRow(self::$BANNER_IMAGE); $photo_obj = (object) array( 'file' => "/photo/{$photo->category}/{$photo->name}-size-full.jpg", 'description' => $photo->description, ); $this->set_body('photo', $photo_obj); $recent_log_container; $recent_logs = LogCollector::getRecentList(4); foreach ($recent_logs as $log) { $recent_log_container[] = (object) array( 'photo' => (object) array( 'file' => "/photo/{$log->photo_category}/{$log->photo}-size-thumb.jpg", 'description' => $log->photo_description, ), 'title' => $log->title, 'link' => "/journal/{$log->alias}/", 'date' => date('F j, Y', strtotime($log->publish_date)), ); } $this->set_body('logs', $recent_log_container); $this->set_body('comments', $this->get_comments()); $this->set_body('view', 'Home'); }
protected function set_body_data() { $this->set_body('form_container', $this->process_form()); $this->set_body_view('Contact'); parent::set_body_data(); }
protected function set_body_data($page_type = 'wide') { parent::set_body_data($page_type); $this->set_head('full_page_map', true); $this->set_body('waterfall_list', $this->fetch_waterfall_list()); $this->set_body('view', 'Map'); }
protected function set_body_data() { $this->set_body('top_data', array('title' => 'Terms of Use')); $this->set_body('body_view', 'Terms'); parent::set_body_data(); }
protected function set_body_data() { $this->set_body('title', "WHAT'S A LIFESTREAM?"); $this->set_body('type', 'about'); $this->set_body('view', 'About'); parent::set_body_data(); }
protected function set_body_data() { $this->set_body('body_view', 'Resume'); $resumePath = Loader::getRootURL('portfolio') . "/jsonresume/{$this->resume}"; $resume = file_get_contents($resumePath); $resume = json_decode($resume, true); $this->set_body('body_data', $resume); parent::set_body_data(); }
protected function set_body_data() { parent::set_body_data(); $this->set_body('top_data', array('title' => 'Change Log')); $this->set_body('body_data', $this->get_changelog()); $this->set_body('body_view', 'Changelog'); }
protected function set_body_data() { parent::set_body_data(); $this->set_body('top_data', array('title' => 'Contact Me')); $this->set_body('body_data', $this->get_form_results()); $this->set_body('body_view', 'Contact'); }
protected function set_body_data() { $this->set_body('title', $this->get_title()); $this->set_body('description', $this->get_description()); $this->set_body('post', $this->expand_post($this->post, 'full')); $this->set_body('type', 'single'); $this->set_body('view', 'Post'); parent::set_body_data(); }
protected function set_body_data() { $this->set_body('body_view', 'Contact'); $body_data = []; if (!empty($_POST)) { $body_data = $this->process_form_data(); } $body_data['domain_container'] = $this->get_domain_container(); $this->set_body('body_data', $body_data); parent::set_body_data(); }
protected function set_body_data($page_type = 'normal') { parent::set_body_data($page_type); $body_data = array_merge( $this->format_waterfall_data($this->waterfall), [ 'comment_array' => $this->get_comment_array( 'waterfallsofthekeweenaw.com', "{$this->waterfall->watercourse_alias}/{$this->waterfall->alias}" ), ] ); $this->set_body('data', $body_data); $this->set_body('view', 'Fall'); }
protected function set_body_data() { parent::set_body_data(); $this->set_body('title', $this->post['title']); $this->set_body('view', 'Post'); $this->set_body('data', array( 'post' => $this->format_post($this->post, false), 'series_posts' => $this->get_series_posts(), 'related_posts' => $this->get_related_posts(), 'author' => self::$AUTHOR, 'author_url' => self::$AUTHOR_URL, 'comment_array' => $this->get_comment_array( 'blog.jacobemerick.com', "{$this->post['category']}/{$this->post['path']}" ), )); }
protected function set_body_data($page_type = 'normal') { parent::set_body_data($page_type); $this->set_body('view', 'Log'); $body_data = array_merge( $this->get_formatted_log(), [ 'comment_array' => $this->get_comment_array( 'waterfallsofthekeweenaw.com', "journal/{$this->log->alias}" ), 'sidebar' => $this->get_sidebar(), 'series' => $this->get_series(), 'album' => $this->get_album(), ] ); $this->set_body('data', $body_data); }
final protected function set_body_data($page_type = 'normal') { parent::set_body_data($page_type); $this->set_body('view', $this->get_list_view()); $this->set_body('data', $this->get_list_body_data()); }
protected function set_body_data() { $this->set_body('body_view', 'About'); $this->set_body('body_data', []); parent::set_body_data(); }
protected function set_body_data() { $this->set_body('body_view', 'Home'); parent::set_body_data(); }
protected function set_body_data() { $this->set_body('post_array', $this->get_recent_posts()); $this->set_body_view('Home'); parent::set_body_data(); }
protected function set_body_data() { $this->set_body_view('About'); parent::set_body_data(); }
protected function set_body_data($page_type = 'normal') { parent::set_body_data($page_type); $this->set_body('view', 'About'); }