]> git.mxchange.org Git - mailer.git/commitdiff
@ is not good for debugging... :)
authorRoland Häder <roland@mxchange.org>
Sat, 11 Sep 2010 00:12:36 +0000 (00:12 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 11 Sep 2010 00:12:36 +0000 (00:12 +0000)
inc/classes/rdf.class.php

index da82f0349f97f260bf7a6073530b53b80bce7676..988b3d2915dd3490305e464b4311846b0c647aa1 100644 (file)
@@ -413,8 +413,7 @@ class fase4_rdf {
         * @return    string Displays RDF Content ( using _display() )
         * @see          _remote_file, cache()
         */
-       function finish($return = false)
-       {
+       function finish($return = false) {
                $this->out = str_replace('$', '&#36;', $this->out);
 
                if (!$return) {
@@ -440,8 +439,7 @@ class fase4_rdf {
         * @return    string Displays RDF Content ( using _display() )
         * @see          _remote_file, cache()
         */
-       function use_dynamic_display( $bool )
-       {
+       function use_dynamic_display( $bool ) {
                $this->_use_dynamic_display = $bool;
                return true;
        }
@@ -454,8 +452,7 @@ class fase4_rdf {
         * @param     string $data    RDF File XML Data
         * @see       _clear_Items()
         */
-       function _parse_xRDF( $data )
-       {
+       function _parse_xRDF( $data ) {
                $this->_clear_Items();
                $xml_parser = xml_parser_create();
                xml_set_object($xml_parser,$this);
@@ -466,7 +463,7 @@ class fase4_rdf {
                        $this->_throw_exception(sprintf("XML error: %s at line %d",
                        xml_error_string(xml_get_error_code($xml_parser)),
                        xml_get_current_line_number($xml_parser)).'<br /><br />Exception in function parse_RDF().');
-               }
+               } // END - if
                xml_parser_free($xml_parser);
        }
 
@@ -477,17 +474,15 @@ class fase4_rdf {
         * @access    public
         * @author    Stefan Saasen <s@fase4.com>
         * @param     int $seconds time files will be cached (in seconds).
-        * @return       boolean
-        * @see          _refresh
+        * @return    boolean
+        * @see       _refresh
         */
-       function set_refresh( $seconds )
-       {
+       function set_refresh( $seconds ) {
                $this->_refresh = (time() - $seconds);
                return true;
        }
 
-       function set_salt( $saltPara )
-       {
+       function set_salt( $saltPara ) {
                $this->salt = $saltPara;
                return true;
        }
@@ -1033,7 +1028,7 @@ class fase4_rdf {
                        // get_cache_update_time()
                        clearstatcache();
                        if($this->_use_dynamic_display == true) {
-                               $_rdf = @implode(' ', $this->_rdf_data()); // -> proxy
+                               $_rdf = implode(' ', $this->_rdf_data()); // -> proxy
                                if(!$_rdf) {
                                        $this->_throw_exception( $this->_remote_file.' is not available' );
                                }
@@ -1041,7 +1036,7 @@ class fase4_rdf {
                                $this->_update_cache( $_rdf );
                                $data = $this->_output;
                        } else {
-                               $_rdf = @implode(' ', $this->_rdf_data()); // -> proxy
+                               $_rdf = implode(' ', $this->_rdf_data()); // -> proxy
                                if(!$_rdf) {
                                        $this->_throw_exception( $this->_remote_file.' is not available' );
                                }
@@ -1056,7 +1051,7 @@ class fase4_rdf {
                                $this->_parse_xRDF( implode(' ', file($_cache_f)) );
                                $data = $this->_output;
                        } else {
-                               $data = @implode(' ', file($_cache_f));
+                               $data = implode(' ', file($_cache_f));
                        }
                }
                return trim($data);
@@ -1080,8 +1075,7 @@ class fase4_rdf {
                        if($arr[0]=='') {
                                $path = '/';
                        }
-                       for($i = '0';$i<$c;$i++)
-                       {
+                       for($i = '0';$i<$c;$i++) {
                                if($arr[$i]!='') {
                                        $path .= $arr[$i].'/';
                                        if(!@is_dir($path)) {