/**
  * Check if the base addon is available.
  *
  * @access protected
  * @since 5.5
  *
  * @todo check for version as well
  *
  * @param string Base Addon class name. Default null. If not specified then it is auto calculated based on addon name.
  * @return bool True if base addon is found, False other wise
  */
 protected function check_base_addon($addon_class_name = null)
 {
     if (null == $addon_class_name) {
         $this->base_addon_class_name = bd_get_addon_class_name($this->base_addon);
     } else {
         $this->base_addon_class_name = $addon_class_name;
     }
     if (class_exists($this->base_addon_class_name)) {
         // Ugly workaround, since we need to support PHP 5.2
         $this->base_addon_obj = call_user_func(array($this->base_addon_class_name, 'factory'));
         return true;
     } else {
         add_action('admin_notices', array($this, 'addon_missing_notice'));
         return false;
     }
 }
 /**
  * Get addon class name.
  *
  * @since 5.5
  * @return string Addon class name
  */
 protected function get_addon_class_name()
 {
     return bd_get_addon_class_name($this->addon_name);
 }