FOF30\Form\Form::addRulePath PHP Method

addRulePath() public static method

WARNING: THIS IS IGNORED IN FOF3!
Deprecation: 3.0
public static addRulePath ( string $new = null ) : void
$new string IGNORED!
return void
    public static function addRulePath($new = null)
    {
        if ($new) {
        }
        // Prevents phpStorm from freaking out about the unused $new parameter...
        if (class_exists('JLog')) {
            \JLog::add(__CLASS__ . '::' . __METHOD__ . '() is deprecated since FOF 3.0 and should not be used.', \JLog::WARNING, 'deprecated');
        }
    }