blueshoes php application framework and cms            plugins_indexserver
[ class tree: plugins_indexserver ] [ index: plugins_indexserver ] [ all elements ]

Class: Bs_Is_ConverterWord

Source Location: /plugins/indexserver/Bs_Is_ConverterWord.class.php

Class Overview

Bs_Object
   |
   --Bs_Is_ConverterWord

dependencies: Bs_FileConverter


Author(s):

Version:

  • 4.3.$Revision: 1.2 $ $Date: 2003/08/09 15:23:14 $

Copyright:

  • blueshoes.org

Variables

Methods


Inherited Variables

Inherited Methods

Class: Bs_Object

Bs_Object::Bs_Object()
Bs_Object::getErrors()
Basic error handling: Get *all* errors as string array from the global Bs_Error-error stack.
Bs_Object::getLastError()
Basic error handling: Get last error string from the global Bs_Error-error stack.
Bs_Object::getLastErrors()
Basic error handling: Get last errors string array from the global Bs_Error-error stack sinc last call of getLastErrors().
Bs_Object::persist()
Persists this object by serializing it and saving it to a file with unique name.
Bs_Object::setError()
Basic error handling: Push an error string on the global Bs_Error-error stack.
Bs_Object::toHtml()
Dumps the content of this object to a string using PHP's var_dump().
Bs_Object::toString()
Dumps the content of this object to a string using PHP's var_dump().
Bs_Object::unpersist()
Fetches an object that was persisted with persist()

Class Details

[line 20]
dependencies: Bs_FileConverter



Tags:

since:  bs4.3
version:  4.3.$Revision: 1.2 $ $Date: 2003/08/09 15:23:14 $
copyright:  blueshoes.org
author:  andrej arn <at blueshoes dot org>


[ Top ]


Class Variables

$Bs_FileConverter =

[line 28]

instance of Bs_FileConverter, gets set in the constructor.



Tags:

access:  public

Type:   object


[ Top ]

$Bs_Is_ConverterHtml =

[line 35]

instance of Bs_Is_ConverterHtml, gets set in the constructor.



Tags:

access:  public

Type:   object


[ Top ]



Class Methods


constructor Bs_Is_ConverterWord [line 41]

Bs_Is_ConverterWord Bs_Is_ConverterWord( )

constructor.



[ Top ]

method streamToArray [line 60]

array streamToArray( string $fileFullPath)

converts the doc specified to an indexable array with plaintext parts.

the returned array is a hash with the keys 'values' and 'weights', both themselves are hashes with the fields.




Tags:

return:  (hash)
see:  $this->stringToArray()
throws:  bool FALSE or Bs_Exception
access:  public


Parameters:

string   $fileFullPath  

[ Top ]

method stringToArray [line 76]

array stringToArray( string $string)

converts the xls specified to an indexable array with plaintext parts.

returns the same as $this->streamToArray().




Tags:

return:  (hash)
see:  $this->streamToArray()
access:  public


Parameters:

string   $string  

[ Top ]


Documentation generated on Mon, 29 Dec 2003 21:11:26 +0100 by phpDocumentor 1.2.3