/** * Constructor * * @since 0.1 */ function __construct() { // Include the tables in path JLoader::import('xmlrpc', JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_easyblog' . DIRECTORY_SEPARATOR . 'classes' . DIRECTORY_SEPARATOR . 'phpxmlrpc'); JLoader::import('xmlrpcs', JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_easyblog' . DIRECTORY_SEPARATOR . 'classes' . DIRECTORY_SEPARATOR . 'phpxmlrpc'); parent::__construct(); }
function __construct($config = array()) { // Include the tables in path JTable::addIncludePath(EBLOG_TABLES); $doc = JFactory::getDocument(); $version = str_ireplace('.', '', EasyBlogHelper::getLocalVersion()); $doc->addStyleSheet(rtrim(JURI::root(), '/') . '/administrator/components/com_easyblog/assets/css/reset.css'); $doc->addStyleSheet(rtrim(JURI::root(), '/') . '/components/com_easyblog/assets/css/common.css'); $doc->addStyleSheet(rtrim(JURI::root(), '/') . '/administrator/components/com_easyblog/assets/css/style.css'); EasyBlogHelper::loadHeaders(); parent::__construct(); }
/** * Constructor * * @since 0.1 */ function __construct() { // Include the tables in path JTable::addIncludePath(EBLOG_TABLES); parent::__construct(); }