org.olat.course.condition.interpreter
Class HasLanguageFunction

java.lang.Object
  extended by com.neemsoft.jmep.FunctionCB
      extended by org.olat.course.condition.interpreter.AbstractFunction
          extended by org.olat.course.condition.interpreter.HasLanguageFunction

public class HasLanguageFunction
extends AbstractFunction

Description:

The hasLanguage function checks if the current user has the given language configured

Initial Date: 01.02.2008

Author:
Florian Gnaegi, frentix GmbH, http://www.frentix.com

Field Summary
static java.lang.String name
           
 
Constructor Summary
HasLanguageFunction(UserCourseEnvironment userCourseEnv)
           
 
Method Summary
 java.lang.Object call(java.lang.Object[] inStack)
           
 
Methods inherited from class org.olat.course.condition.interpreter.AbstractFunction
getUserCourseEnv
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public static java.lang.String name
Constructor Detail

HasLanguageFunction

public HasLanguageFunction(UserCourseEnvironment userCourseEnv)
Method Detail

call

public java.lang.Object call(java.lang.Object[] inStack)
Specified by:
call in class AbstractFunction
See Also:
FunctionCB.call(java.lang.Object[])