<?php
/* $Id$ */
-//
-// +----------------------------------------------------------------------+
-// | rss Parser |
-// | Copyright (c) 2001 Stefan Saasen |
-// +----------------------------------------------------------------------+
-// | The contents of this file are subject to the Mozilla Public License |
-// | Version 1.1 (the "License"); you may not use this file except in |
-// | compliance with the License. You may obtain a copy of the License at |
-// | http://www.mozilla.org/MPL/ |
-// | |
-// | Software distributed under the License is distributed on an "AS IS" |
-// | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See |
-// | the License for the specific language governing rights and |
-// | limitations under the License. |
-// +----------------------------------------------------------------------+
-// | |
-// | Maintainer and initial developer: |
-// | Stefan Saasen <s@fase4.com> |
-// | |
-// | Proxy and authentication methods added by: |
-// | Marco Kraus <marco.kraus@siemens.com> |
-// | |
-// | Decoding of data by htmlentities or utf8_decode added by: |
-// | Roland Haeder <webmaster@mxchange.org> |
-// | |
-// +----------------------------------------------------------------------+
-// | Ref: |
-// | @link http://www.fase4.com/rdf/ Latest release |
-// +----------------------------------------------------------------------+
+/*
+ * +----------------------------------------------------------------------+
+ * | rss Parser |
+ * | Copyright (c) 2001 Stefan Saasen |
+ * +----------------------------------------------------------------------+
+ * | The contents of this file are subject to the Mozilla Public License |
+ * | Version 1.1 (the "License"); you may not use this file except in |
+ * | compliance with the License. You may obtain a copy of the License at |
+ * | http: *www.mozilla.org/MPL/ |
+ * | |
+ * | Software distributed under the License is distributed on an "AS IS" |
+ * | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See |
+ * | the License for the specific language governing rights and |
+ * | limitations under the License. |
+ * +----------------------------------------------------------------------+
+ * | |
+ * | Maintainer and initial developer: |
+ * | Stefan Saasen <s@fase4.com> |
+ * | |
+ * | Proxy and authentication methods added by: |
+ * | Marco Kraus <marco.kraus@siemens.com> |
+ * | |
+ * | Decoding of data by htmlentities or utf8_decode added by: |
+ * | Roland Haeder <webmaster@mxchange.org> |
+ * | |
+ * +----------------------------------------------------------------------+
+ * | Ref: |
+ * | @link http://www.fase4.com/rdf/ Latest release |
+ * +----------------------------------------------------------------------+
+ */
/**
* Class RSS Parser
*
* @access public
* @author Stefan Saasen <s@fase4.com>
- * @see _refresh
+ * @see _refresh
*/
function fase4_rdf()
{
* @author Stefan Saasen <s@fase4.com>
* @param string $rdf RDF File (Location)
* @return string Displays RDF Content (using _display())
- * @see _remote_file, cache()
+ * @see _remote_file, cache()
*/
function parse_RDF($rdf)
{
* @author Stefan Saasen <s@fase4.com>
* @param string $rdf RDF File (Location)
* @return string Displays RDF Content (using _display())
- * @see _remote_file, cache()
+ * @see _remote_file, cache()
*/
function finish($return = FALSE) {
$this->out = str_replace('$', '$', $this->out);
* @author Stefan Saasen <s@fase4.com>
* @param string $rdf RDF File (Location)
* @return string Displays RDF Content (using _display())
- * @see _remote_file, cache()
+ * @see _remote_file, cache()
*/
function use_dynamic_display($bool) {
$this->_use_dynamic_display = $bool;
* @access public
* @param int $int No of max <item>s
* @author Stefan Saasen <s@fase4.com>
- * @return boolean
- * @see _max_count, _endElement()
+ * @return boolean
+ * @see _max_count, _endElement()
*/
function set_max_item($int)
{
* @access public
* @author Stefan Saasen <s@fase4.com>
* @param string $dir Path to Directory.
- * @return boolean
- * @see _cache_dir
+ * @return boolean
+ * @see _cache_dir
*/
function set_CacheDir($dir)
{
* @param mixed $parser a reference to the XML parser calling the handler.
* @param string $name contains the name of the element for which this handler is called.
* @param string $attrs contains an associative array with the element's attributes (if any).
- * @see _get_ChannelData(), _clear_Items(), _type, _parse_mode, _depth, _tags, _cdepth, _ctags
+ * @see _get_ChannelData(), _clear_Items(), _type, _parse_mode, _depth, _tags, _cdepth, _ctags
*/
function _startElement($parser, $name, $attrs) {
// We have to determine, which type of xml data we have to parse
* @access private
* @author Stefan Saasen <s@fase4.com>
* @param mixed $parser a reference to the XML parser calling the handler.
- * @see _output, _display_opt, _citem
+ * @see _output, _display_opt, _citem
*/
function _get_ChannelData($parser)
{
* @author Stefan Saasen <s@fase4.com>
* @param mixed $parser a reference to the XML parser calling the handler.
* @param string $name contains the name of the element for which this handler is called.
- * @see _clear_Items(), _type, _parse_mode, _depth, _tags, _cdepth, _ctags, _item, _output, _display_opt
+ * @see _clear_Items(), _type, _parse_mode, _depth, _tags, _cdepth, _ctags, _item, _output, _display_opt
*/
function _endElement($parser, $name) {
array_pop($this->_tags);
* @author Stefan Saasen <s@fase4.com>
* @param mixed $parser a reference to the XML parser calling the handler.
* @param string $text contains the character data as a string.
- * @see _parse_mode, _item, _tags, _depth, _citem, _ctags, _cdepth
+ * @see _parse_mode, _item, _tags, _depth, _citem, _ctags, _cdepth
*/
function _parseData($parser, $text)
{
* @access public
* @author Stefan Saasen <s@fase4.com>
* @param array $options
- * @see _display_opt
+ * @see _display_opt
*/
function set_Options($options = '')
{
* @access public
* @author Stefan Saasen <s@fase4.com>
* @param int $width attribute width in tag <table>
- * @see _table_width
+ * @see _table_width
*/
function set_table_width($width = 400)
{
* @access public
* @author Stefan Saasen <s@fase4.com>
* @return array $options
- * @see _display_opt
+ * @see _display_opt
*/
function get_Options() {
$options = array(
* @author Stefan Saasen <s@fase4.com>
* @param string $rdf RDF File (Location)
* @return string XML Presentation of parsed RDF File
- * @see _cached_file, _remote_file, _cache_dir, _refresh, _update_cache()
+ * @see _cached_file, _remote_file, _cache_dir, _refresh, _update_cache()
*/
function cache()
{
* @access private
* @author Stefan Saasen <s@fase4.com>
* @param string $dir Path to Directory.
- * @return boolean
- * @see _cache_dir, _cache_dir_ok
+ * @return boolean
+ * @see _cache_dir, _cache_dir_ok
*/
function _create_cache_dir()
{
* @access private
* @author Stefan Saasen <s@fase4.com>
* @param string $rdf RDF File (Location)
- * @see _cache_dir, _cached_file, _throw_exception()
+ * @see _cache_dir, _cached_file, _throw_exception()
*/
function _update_cache($content = '')
{
*
* @access public
* @author Stefan Saasen <s@fase4.com>
- * @return string Date/Time of last Update
- * @see _cache_dir, _cached_file
+ * @return string Date/Time of last Update
+ * @see _cache_dir, _cached_file
*/
function get_cache_update_time()
{
* @author Stefan Saasen <s@fase4.com>
* @param string $rdf RDF File (Location)
* @return string Displays RDF Content (using _display())
- * @see _remote_file, cache()
+ * @see _remote_file, cache()
*/
function get_CacheType()
{
* @access public
* @author Stefan Saasen <s@fase4.com>
* @return array $options
- * @see _use_cached_file
+ * @see _use_cached_file
*/
function is_cachedFile()
{
*
* @access public
* @author Stefan Saasen <s@fase4.com>
- * @see _cache_dir
+ * @see _cache_dir
*/
function clear_cache()
{
*
* @access private
* @author Stefan Saasen <s@fase4.com>
- * @see _cache_dir, gc_probability, gc_maxlifetime
+ * @see _cache_dir, gc_probability, gc_maxlifetime
*/
function _garbage_collection()
{
*
* @access private
* @author Marco Kraus <Marco.Kraus@siemens.com>
- * @return array
- * @see _use_proxy, cache()
+ * @return array
+ * @see _use_proxy, cache()
*/
function _rdf_data()
{