Beispiel #1
0
 /**
  * Load List of Metaboxes
  *
  * @return string
  *
  * @access protected
  */
 protected function loadMetaboxes()
 {
     $model = new aam_View_Metabox();
     return $model->retrieveList();
 }
 /**
  * Load List of Metaboxes
  *
  * @return string
  *
  * @access public
  */
 public function loadMetaboxes()
 {
     if (aam_View_Collection::hasFeature(self::FEATURE_METABOX)) {
         $metabox = new aam_View_Metabox();
         $response = $metabox->retrieveList();
     } else {
         $response = self::DEFAULT_AJAX_RESPONSE;
     }
     return $response;
 }