SproutCMS

This is the code documentation for the SproutCMS project

class UserAuth

Stub class for when the users module is not installed

Makes use of the fact that it's legal to call static
methods from instances

Will load the 'Helpers\UserAuth' class from the namespace
registered for the feature "users".

Source code (3 results)

/sprout/Helpers/SubsiteSelector.php   Highlighted file source

Line 107: if (! UserAuth::isLoggedIn()) continue;
Line 124: UserAuth::checkLogin();

/sprout/Helpers/UserAuth.php   Highlighted file source

Line 23: * Will load the 'Helpers\UserAuth' class from the namespace
Line 26: class UserAuth
Line 40: protected static function realUserAuthInst()
Line 48: $class = $ns . '\Helpers\UserAuth';
Line 60: * See {@see SproutModules\Karmabunny\Users\Helpers\UserAuth::isLoggedIn}
Line 65: $inst = self::realUserAuthInst();
Line 76: * See {@see SproutModules\Karmabunny\Users\Helpers\UserAuth::getId}
Line 81: $inst = self::realUserAuthInst();

/sprout/Helpers/Validity.php   Highlighted file source

Line 279: * $valid->check('email', 'Validity::uniqueValue', 'users', 'email', UserAuth::get_id())

A total of 11 lines in 3 files were found