File dsl/standard/ArrayWrapper.class.php
Last commit: Thu Dec 26 12:12:43 2024 +0100 Jan Dankert The last update from upstream repository openrat-cms.
1 <?php 2 namespace dsl\standard; 3 4 use dsl\context\BaseScriptableObject; 5 6 class ArrayWrapper extends BaseScriptableObject 7 { 8 public function of() { 9 10 return func_get_args(); 11 } 12 13 14 public function __toString() 15 { 16 return 'Array'; 17 } 18 19 20 public function fill( $value,$start,$count) 21 { 22 return array_fill( $value,$start,$count ); 23 } 24 25 26 public function isArray( $val ) 27 { 28 return is_array( $val ); 29 } 30 31 32 }
Downloaddsl/standard/ArrayWrapper.class.php
History Thu, 26 Dec 2024 12:12:43 +0100 Jan Dankert The last update from upstream repository openrat-cms.