XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
extract Class Reference

Public Member Functions

 set ($filename, $startTag, $endTag, $itemTag, $itemEndTag)
 
 openFile ()
 
 closeFile ()
 
 isFinished ()
 
 saveItems ()
 
 mergeItems ($filename)
 
 getItem ()
 
 getTotalCount ()
 
 getKey ()
 
 _addTagCRTail ($str)
 

Public Attributes

 $key = ''
 
 $cache_path = './files/cache/importer'
 
 $cache_index_file = './files/cache/importer'
 
 $filename = null
 
 $startTag = ''
 
 $endTag = ''
 
 $itemStartTag = ''
 
 $itemEndTag = ''
 
 $fd = null
 
 $index_fd = null
 
 $isStarted = false
 
 $isFinished = true
 
 $buff = 0
 
 $index = 0
 

Detailed Description

Definition at line 11 of file extract.class.php.

Member Function Documentation

extract::_addTagCRTail (   $str)

Definition at line 313 of file extract.class.php.

extract::closeFile ( )

Close an indicator of the file

Returns
void

Definition at line 191 of file extract.class.php.

extract::getItem ( )

Get item. Put data to buff

Returns
void

Definition at line 248 of file extract.class.php.

extract::getKey ( )

Definition at line 308 of file extract.class.php.

extract::getTotalCount ( )

Definition at line 303 of file extract.class.php.

extract::isFinished ( )

Definition at line 198 of file extract.class.php.

extract::mergeItems (   $filename)

Merge item

Returns
void

Definition at line 221 of file extract.class.php.

extract::openFile ( )

Open an indicator of the file

Returns
BaseObject

Definition at line 120 of file extract.class.php.

extract::saveItems ( )

Save item

Returns
void

Definition at line 207 of file extract.class.php.

extract::set (   $filename,
  $startTag,
  $endTag,
  $itemTag,
  $itemEndTag 
)

Get arguments for constructor, file name, start tag, end tag, tag name for each item

Parameters
string$filename
string$startTag
string$endTag
string$itemTag
string$itemEndTag
Returns
BaseObject

Definition at line 97 of file extract.class.php.

Member Data Documentation

extract::$buff = 0

Definition at line 80 of file extract.class.php.

extract::$cache_index_file = './files/cache/importer'

Definition at line 27 of file extract.class.php.

extract::$cache_path = './files/cache/importer'

Definition at line 22 of file extract.class.php.

extract::$endTag = ''

Definition at line 42 of file extract.class.php.

extract::$fd = null

Definition at line 58 of file extract.class.php.

extract::$filename = null

Definition at line 32 of file extract.class.php.

extract::$index = 0

Definition at line 86 of file extract.class.php.

extract::$index_fd = null

Definition at line 63 of file extract.class.php.

extract::$isFinished = true

Definition at line 74 of file extract.class.php.

extract::$isStarted = false

Definition at line 69 of file extract.class.php.

extract::$itemEndTag = ''

Definition at line 52 of file extract.class.php.

extract::$itemStartTag = ''

Definition at line 47 of file extract.class.php.

extract::$key = ''

Definition at line 17 of file extract.class.php.

extract::$startTag = ''

Definition at line 37 of file extract.class.php.


The documentation for this class was generated from the following file: