Class PHPCrawlerDocumentInfoQueue

Description

Queue for PHPCrawlerDocumentInfo-objects

Located in /libs/PHPCrawler/ProcessCommunication/PHPCrawlerDocumentInfoQueue.class.php (line 8)


	
			
Variable Summary
Method Summary
PHPCrawlerDocumentInfoQueue __construct (string $file, [bool $create_tables = false])
void openConnection ([bool $create_tables = false])
Variables
mixed $PDO (line 10)
  • access: protected
mixed $prepared_statements_created = false (line 14)
  • access: protected
mixed $queue_max_size = 20 (line 18)
  • access: protected
mixed $sqlite_db_file (line 12)
  • access: protected
mixed $working_directory = null (line 16)
  • access: protected
Methods
Constructor __construct (line 26)

Initiates a PHPCrawlerDocumentInfoQueue

  • access: public
PHPCrawlerDocumentInfoQueue __construct (string $file, [bool $create_tables = false])
  • string $file: The SQLite-fiel to use.
  • bool $create_tables: Defines whether all necessary tables should be created
addDocumentInfo (line 48)

Adds a PHPCrawlerDocumentInfo-object to the queue

  • access: public
void addDocumentInfo (PHPCrawlerDocumentInfo $DocInfo)
createPreparedStatements (line 92)
  • access: protected
void createPreparedStatements ()
getDocumentInfoCount (line 36)

Returns the current number of PHPCrawlerDocumentInfo-objects in the queue

  • access: public
void getDocumentInfoCount ()
getNextDocumentInfo (line 70)

Returns a PHPCrawlerDocumentInfo-object from the queue

  • access: public
void getNextDocumentInfo ()
openConnection (line 108)

Creates the sqlite-db-file and opens connection to it.

  • access: protected
void openConnection ([bool $create_tables = false])
  • bool $create_tables: Defines whether all necessary tables should be created

Documentation generated on Sun, 20 Jan 2013 21:18:50 +0200 by phpDocumentor 1.4.4