Beispiel #1
0
	/**
	 * Get Kunena profile integration object
	 *
	 * Returns the global {@link KunenaProfile} object, only creating it if it doesn't already exist.
	 *
	 * @return object KunenaProfile
	 */
	public static function getProfile()
	{
		require_once KPATH_ADMIN . '/libraries/integration/profile.php';
		return KunenaProfile::getInstance();
	}
Beispiel #2
0
	/**
	 * Get Kunena profile integration object
	 *
	 * Returns the global {@link KunenaProfile} object, only creating it if it doesn't already exist.
	 *
	 * @return KunenaProfile
	 */
	public static function getProfile() {
		return KunenaProfile::getInstance();
	}
Beispiel #3
0
 /**
  * Get Kunena profile integration object
  *
  * Returns the global {@link KunenaProfile} object, only creating it if it doesn't already exist.
  *
  * @return object KunenaProfile
  */
 public static function getProfile()
 {
     kimport('integration.profile');
     return KunenaProfile::getInstance();
 }