\n";
- $this->_output .= "\n";
@@ -845,7 +842,7 @@ class fase4_rdf {
* @access public
* @author Stefan Saasen
* @return array
- * @see _array_item
+ * @see _array_item
*/
function get_array_item( )
{
@@ -858,7 +855,7 @@ class fase4_rdf {
* @access public
* @author Stefan Saasen
* @return array
- * @see _array_textinput
+ * @see _array_textinput
*/
function get_array_textinput( )
{
@@ -868,13 +865,13 @@ class fase4_rdf {
/**
* Getter for parser id from resource
*
- * @access private
- * @author Roland Haeder
- * @return int
+ * @access private
+ * @author Roland Haeder
+ * @return int
*/
function get_parser_id ($parser) {
// Default is zero
- $id = 0;
+ $id = '0';
// Is it a resource?
if (is_resource($parser)) {
@@ -892,7 +889,7 @@ class fase4_rdf {
* @access public
* @author Stefan Saasen
* @return array
- * @see _array_image
+ * @see _array_image
*/
function get_array_image( )
{
@@ -1031,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' );
}
@@ -1039,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' );
}
@@ -1054,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);
@@ -1078,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)) {
@@ -1297,7 +1293,7 @@ class fase4_rdf {
}
- for ( $i = 0; !feof ($fp) ; $i++)
+ for ( $i = '0'; !feof ($fp) ; $i++)
{
$usable_data[$i] = "";
$usable_data[$i] = fgets($fp,4096);
|