mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 20:59:55 +09:00
merge from 1.5.3 (~r10943)
git-svn-id: http://xe-core.googlecode.com/svn/trunk@10951 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7aa4798373
commit
54e3a72065
334 changed files with 13011 additions and 5561 deletions
|
|
@ -1,24 +1,27 @@
|
|||
<?php
|
||||
/**
|
||||
* @class rssView
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief The view class of the rss module
|
||||
*
|
||||
* Feed the document output
|
||||
*
|
||||
* The view class of the rss module
|
||||
*
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
**/
|
||||
|
||||
class rssView extends rss {
|
||||
|
||||
/**
|
||||
* @brief Initialization
|
||||
* Initialization
|
||||
*
|
||||
* @return void
|
||||
**/
|
||||
function init() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Feed output
|
||||
* Feed output.
|
||||
* When trying to directly print out the RSS, the results variable can be directly specified through $oRssView->rss($document_list)
|
||||
*
|
||||
* @param Object $document_list Document list
|
||||
* @param string $rss_title Rss title
|
||||
* @param string $add_description Add description
|
||||
**/
|
||||
function rss($document_list = null, $rss_title = null, $add_description = null) {
|
||||
$oDocumentModel = &getModel('document');
|
||||
|
|
@ -181,7 +184,9 @@
|
|||
$this->setTemplateFile('display');
|
||||
}
|
||||
/**
|
||||
* @brief ATOM output
|
||||
* ATOM output
|
||||
*
|
||||
* @return Object
|
||||
**/
|
||||
function atom() {
|
||||
Context::set('format', 'atom');
|
||||
|
|
@ -189,7 +194,9 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief Error output
|
||||
* Error output
|
||||
*
|
||||
* @return Object
|
||||
**/
|
||||
function dispError() {
|
||||
// Prepare the output message
|
||||
|
|
@ -197,8 +204,11 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief Additional configurations for a service module
|
||||
* Additional configurations for a service module
|
||||
* Receive the form for the form used by rss
|
||||
*
|
||||
* @param string $obj Will be inserted content in template
|
||||
* @return Object
|
||||
**/
|
||||
function triggerDispRssAdditionSetup(&$obj) {
|
||||
$current_module_srl = Context::get('module_srl');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue