/** * Handle event (internal, after checking) * * @param string $name Event name * @param array $arguments Event arguments OPTIONAL * * @return boolean */ public function handleEvent($name, array $arguments) { return \XLite\Core\Probe::getInstance()->measure(true); }
<?php // vim: set ts=4 sw=4 sts=4 et: /** * LiteCommerce * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to licensing@litecommerce.com so we can send you a copy immediately. * * PHP version 5.3.0 * * @category LiteCommerce * @author Creative Development LLC <*****@*****.**> * @copyright Copyright (c) 2011-2012 Creative Development LLC <*****@*****.**>. All rights reserved * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * @link http://www.litecommerce.com/ */ require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'top.inc.php'; set_time_limit(0); XLite::getInstance()->run(); \XLite\Core\Probe::getInstance()->measure();
/** * Run step * * @return void */ protected function runStep() { \XLite\Core\Probe::getInstance()->measure(); }