booked/lib/Common/PluginManager.php
/**
	 * Loads the configured PostRegistration plugin, if one exists
	 * If no plugin exists, the default PostRegistration class is returned
	 *
	 * @return IPostRegistration
	 */
Loads the configured PostRegistration plugin, if one exists
If no plugin exists, the default PostRegistration class is returned


Loads the configured PostRegistration plugin if one exists If no plugin exists the default PostRegistration class is returned
public function LoadPostRegistration()
	{
		require_once(ROOT_DIR . 'lib/Application/Authorization/namespace.php');
		$userRepository = new UserRepository();
		$postRegistration = new PostRegistration(new WebAuthentication(self::LoadAuthentication()), new AccountActivation($userRepository, $userRepository));
		$plugin = $this->LoadPlugin(ConfigKeys::PLUGIN_POSTREGISTRATION, 'PostRegistration', $postRegistration);
		if (!is_null($plugin))
		{
			return $plugin;
		}
		return $postRegistration;
	}
public function LoadPostRegistration ( ) { require_once ( ROOT_DIR . 'lib/Application/Authorization/namespace.php' ) ; $ userRepository = new UserRepository ( ) ; $ postRegistration = new PostRegistration ( new WebAuthentication ( self :: LoadAuthentication ( ) ) , new AccountActivation ( $ userRepository , $ userRepository ) ) ; $ plugin = $ this -> LoadPlugin ( ConfigKeys :: PLUGIN_POSTREGISTRATION , 'PostRegistration' , $ postRegistration ) ; if ( ! is_null ( $ plugin ) ) { return $ plugin ; } return $ postRegistration ; }
Loads the configured PostRegistration plugin, if one exists
 If no plugin exists, the default PostRegistration class is returned
Loads the configured PostRegistration plugin if one exists If no plugin exists the default PostRegistration class is returned