Source for file Ruleloader.php
Documentation is available at Ruleloader.php
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
* @author Greg Swindle <greg@swindle.net>
* Loads a Rule from a file. RuleLoader uses the Strategy pattern so you define custom algorithms for loading Rules and RuleContexts.
* The algorithm used to retrieve a Rule or RuleContext.
* @var RuleContextLoaderStrategy
private $strategy =
NULL;
$this->strategy =
$strategy;
$strategy->rule =
$this->rule;
return $this->strategy->loadRule( $fileName );
/* End of file Ruleloader.php */
/* Location: ./system/application/libraries/php-rules/Ruleloader.php */
Documentation generated on Thu, 24 Mar 2011 21:27:42 -0500 by phpDocumentor 1.4.1