Formulas/Resources/Formulas/Formula.php
protected function getAspectSources()
	{
		$sources = array();

		foreach ( Formula::$ruleNames as $ruleName )
		{
			$rule = $this->$ruleName;
			if ( ! isset( $rule['source'] ) ) continue;
			$sources[ $ruleName ] = $rule['source'];
		}

		return $sources;
	}
protected function getAspectSources()
	{
		$sources = array();

		foreach ( Formula::$ruleNames as $ruleName )
		{
			$rule = $this->$ruleName;
			if ( ! isset( $rule['source'] ) ) continue;
			$sources[ $ruleName ] = $rule['source'];
		}

		return $sources;
	}
protected function getAspectSources ( ) { $ sources = array ( ) ; foreach ( Formula :: $ ruleNames as $ ruleName ) { $ rule = $ this -> $ ruleName ; if ( ! isset ( $ rule [ 'source' ] ) ) continue ; $ sources [ $ ruleName ] = $ rule [ 'source' ] ; } return $ sources ; }
Return a list of the sources for all of the declared rules
@return array
Return a list of the sources for all of the declared rules