Info Panel
Roll it!   ⇔
1 - Documantation
* Knowledge Base
  • Mvc
  • Application
  • Advanced
  • Operators
  • Api
* Origin Template
  • Customize
* Core Classes
* Classes

* all grey titles exists but not documented yet

Current Language

Type: core

Class: Lang

Platform: 2v

Function: class global

Visibility: public static

Parameter: $currentLanguage

Description:
We just want to know what is the current language that is set.
Return:
string - The current language code as string.
Callable from (extended classes):
application: controller,view
advanced: controller,view
operators: controller,view
api: controller,view
example: 1
Shifra is a very old lady, love to help other when they need.. She wants to know what's the current language, can we help? Yes we can!
How to call (example):
Code:
Possible outcome (example):
Output:
Info Panel
Roll it!   ⇔