"Fossies" - the Fresh Open Source Software Archive

Member "libs/PHPCrawler/Enums/PHPCrawlerMultiProcessModes.class.php" (8 Jan 2013, 598 Bytes) of package /linux/www/SitemapCreator.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 <?php
    2 /**
    3  * Multiprocessing-modes currently supported by phpcrawl.
    4  *
    5  * @package phpcrawl.enums
    6  */
    7 class PHPCrawlerMultiProcessModes
    8 {
    9   /**
   10    * Crawler runs in a single process
   11    *
   12    * @var int
   13    */
   14   const MPMODE_NONE = 0;
   15   
   16   /**
   17    * Crawler runs in multiprocess-mode, usercode is executed by parent-process only.
   18    *
   19    * @var int
   20    */
   21   const MPMODE_PARENT_EXECUTES_USERCODE = 1;
   22   
   23   /**
   24    * Crawler runs in multiprocess-mode, usercode is executed by child-processes directly.
   25    *
   26    * @var int
   27    */
   28   const MPMODE_CHILDS_EXECUTES_USERCODE = 2;
   29 }
   30 ?>