Beispiel #1
0
 /**
  * Get Runner path
  *
  * @return string
  */
 public static function getRunnerPath()
 {
     if (!self::$_runnerPath) {
         self::$_runnerPath = realpath(dirname(__FILE__) . '/..');
     }
     return self::$_runnerPath;
 }
Beispiel #2
0
<?php

// Register autoloader
require_once dirname(__FILE__) . '/Runner/Autoloader.php';
Runner_Autoloader::register();
class Runner
{
    protected $_siteHost;
    /**
     *
     * @var Runner_Planner
     */
    protected $_planner;
    /**
     *
     * @var Runner_Crawler 
     */
    protected $_crawler;
    /**
     *
     * @var Runner_Parser 
     */
    protected $_parser;
    /**
     *
     * @var Runner_Processor_Interface
     */
    protected $_processor;
    /**
     * Array of options
     * @var array