30 if(!is_array($array)){
40 public function isString($string, $allow_empty =
true){
41 if(!is_string($string)){
42 if(is_array($string)){
43 $string = json_encode($string);
46 }
if(!$allow_empty && $string ==
""){
57 if(!array_key_exists($index, $array)){
68 if(array_key_exists($index, $array)){
79 if(!array_key_exists($index, $array)){
89 public function isTypeOf($element,$class_name){
90 if(!get_class($element) == $class_name){
isString($string, $allow_empty=true)
isIndex($index, array $array)
isNotIndex($index, array $array)
Create styles array
The data for the language used.
isTypeOf($element, $class_name)
Tests properties and throws exceptions if not met.