예제 #1
0
파일: factory.php 프로젝트: rich20/Kunena
	/**
	 * Get Kunena avatar integration object
	 *
	 * Returns the global {@link KunenaAvatar} object, only creating it if it doesn't already exist.
	 *
	 * @return object KunenaAvatar
	 */
	public static function getAvatarIntegration()
	{
		require_once KPATH_ADMIN . '/libraries/integration/avatar.php';
		return KunenaAvatar::getInstance();
	}
예제 #2
0
	/**
	 * Get Kunena avatar integration object
	 *
	 * Returns the global {@link KunenaAvatar} object, only creating it if it doesn't already exist.
	 *
	 * @return KunenaAvatar
	 */
	public static function getAvatarIntegration() {
		return KunenaAvatar::getInstance();
	}
예제 #3
0
 /**
  * Get Kunena avatar integration object
  *
  * Returns the global {@link KunenaAvatar} object, only creating it if it doesn't already exist.
  *
  * @return object KunenaAvatar
  */
 public static function getAvatarIntegration()
 {
     kimport('integration.avatar');
     return KunenaAvatar::getInstance();
 }