Class rex_clang

Clang class.

Package: redaxo\core
Author: gharlan
Located at redaxo/src/core/lib/clang/clang.php

Methods summary

public static boolean
# exists( integer $id )

Checks if the given clang exists.

public static self
# get( integer $id )

Returns the clang object for the given id.

public static integer
# getStartId( )

Returns the clang start id.

public static self
# getCurrent( )

Returns the current clang object.

public static integer
# getCurrentId( )

Returns the current clang id.

public static
# setCurrentId( integer $id )

Sets the current clang id.

public integer
# getId( )

Returns the id.

public string
# getCode( )

Returns the lang code.

public string
# getName( )

Returns the name.

public integer
# getPriority( )

Returns the priority.

public boolean
# isOnline( )

Returns the status.

public boolean
# hasValue( string $value )

Checks whether the clang has the given value.

public mixed
# getValue( string $value )

Returns the given value.

public static integer
# count( boolean $ignoreOfflines = false )

Counts the clangs.

public static int[]
# getAllIds( boolean $ignoreOfflines = false )

Returns an array of all clang ids.

public static self[]
# getAll( boolean $ignoreOfflines = false )

Returns an array of all clangs.

public static
# reset( )

Resets the intern cache of this class.