public static function get_lang($name) { return SearchCoursePlugin::create()->get_lang($name); }
<?php /** * @copyright (c) 2011 University of Geneva * @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht */ require_once api_get_path(LIBRARY_PATH) . 'plugin.class.php'; require_once dirname(__FILE__) . '/lib/search_course_plugin.class.php'; $plugin_info = SearchCoursePlugin::create()->get_info();