/** * Prepare and generate the post breadcrumb * * @return string * * @access protected */ protected function generatePostBreadcrumb() { $model = new aam_View_Post(); return $model->getPostBreadcrumb(); }
/** * Prepare and generate the post breadcrumb * * @return string * * @access public */ public function postBreadcrumb() { if (aam_View_Collection::hasFeature(self::FEATURE_POST_ACCESS)) { $post = new aam_View_Post(); $response = $post->getPostBreadcrumb(); } else { $response = self::DEFAULT_AJAX_RESPONSE; } return $response; }