AntonLV 12 anni fa
parent
commit
591c1405dd

+ 26 - 0
studio/classes/BxDolStudioRssModuleHelp.php

@@ -0,0 +1,26 @@
+<?php defined('BX_DOL') or die('hack attempt');
+/**
+ * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
+ * CC-BY License - http://creativecommons.org/licenses/by/3.0/
+ *
+ * @defgroup    DolphinCore Dolphin Core
+ * @{
+ */
+
+bx_import('BxTemplRss');
+
+class BxDolStudioRssModuleHelp extends BxTemplRss
+{
+    function __construct($aObject)
+    {
+        parent::__construct($aObject);
+    }
+
+    public function getUrl($mixedId)
+    {
+    	bx_import('BxDolStudioModule');
+		return BxDolStudioModule::getObjectInstance($mixedId)->getRssHelpUrl();
+    }
+}
+
+/** @} */

+ 27 - 0
studio/classes/BxDolStudioRssPageHelp.php

@@ -0,0 +1,27 @@
+<?php defined('BX_DOL') or die('hack attempt');
+/**
+ * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
+ * CC-BY License - http://creativecommons.org/licenses/by/3.0/
+ *
+ * @defgroup    DolphinCore Dolphin Core
+ * @{
+ */
+
+bx_import('BxTemplRss');
+
+class BxDolStudioRssPageHelp extends BxTemplRss
+{
+    function __construct($aObject)
+    {
+        parent::__construct($aObject);
+    }
+
+    public function getUrl($mixedId)
+    {
+    	bx_import('BxDolStudioPage');
+    	$oPage = new BxDolStudioPage($mixedId);
+		return $oPage->getRssHelpUrl();
+    }
+}
+
+/** @} */