XpressEngine Core
1.11.2
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
modules
rss
rss.model.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (C) NAVER <http://www.navercorp.com> */
8
class
rssModel
extends
rss
9
{
19
function
getModuleFeedUrl
($vid,
$mid
, $format =
'rss'
, $absolute_url =
false
)
20
{
21
if
($absolute_url)
22
{
23
return
getFullUrl
(
''
,
'vid'
,$vid,
'mid'
,
$mid
,
'act'
,$format);
24
}
25
else
26
{
27
return
getUrl
(
''
,
'vid'
,$vid,
'mid'
,
$mid
,
'act'
,$format);
28
}
29
}
30
37
function
getRssModuleConfig
(
$module_srl
)
38
{
39
// Get the configurations of the rss module
40
$oModuleModel
=
getModel
(
'module'
);
41
$module_rss_config =
$oModuleModel
->getModulePartConfig(
'rss'
,
$module_srl
);
42
if
(!$module_rss_config)
43
{
44
$module_rss_config =
new
stdClass();
45
$module_rss_config->open_rss =
'N'
;
46
}
47
$module_rss_config->module_srl =
$module_srl
;
48
return
$module_rss_config;
49
}
50
}
51
/* End of file rss.model.php */
52
/* Location: ./modules/rss/rss.model.php */
$oModuleModel
$oModuleModel
Definition:
ko.install.php:236
rssModel\getRssModuleConfig
getRssModuleConfig($module_srl)
Definition:
rss.model.php:37
rssModel
Definition:
rss.model.php:8
ModuleObject\$module_srl
$module_srl
integer value to represent a run-time instance of Module (XE Module)
Definition:
ModuleObject.class.php:14
ModuleObject\$mid
$mid
string to represent run-time instance of Module (XE Module)
Definition:
ModuleObject.class.php:12
rssModel\getModuleFeedUrl
getModuleFeedUrl($vid, $mid, $format= 'rss', $absolute_url=false)
Definition:
rss.model.php:19
getModel
getModel($module_name)
Definition:
func.inc.php:145
rss
Definition:
rss.class.php:8
getUrl
getUrl()
Definition:
func.inc.php:297
getFullUrl
getFullUrl()
Definition:
func.inc.php:361
Generated on Tue Dec 18 2018 17:04:29 for XpressEngine Core by
1.8.5