/** * Initialize list of metaboxes from individual link * * @return string * * @access protected */ protected function initLink() { $model = new aam_View_Metabox(); return $model->initLink(); }
/** * Initialize list of metaboxes from individual link * * @return string * * @access public */ public function initLink() { if (aam_View_Collection::hasFeature(self::FEATURE_METABOX)) { $metabox = new aam_View_Metabox(); $response = $metabox->initLink(); } else { $response = self::DEFAULT_AJAX_RESPONSE; } return $response; }