$content
$content : string|array<mixed,string>
Class View helps child classes quickly create ussd menus.
Class to help easy generate ussd menus
__construct(string|array<mixed,string> $content, string|array<mixed,string> $next, integer $page = 1, integer $number_per_page = null, array<mixed,object>|array<mixed,string>|null $iterable_list = null, array<mixed,string>|null $iterator = null, string|array<mixed,string>|null $end = null)
View constructor.
It used to create a new instance of the View Class.
string|array<mixed,string> | $content | |
string|array<mixed,string> | $next | |
integer | $page | |
integer | $number_per_page | |
array<mixed,object>|array<mixed,string>|null | $iterable_list | |
array<mixed,string>|null | $iterator | |
string|array<mixed,string>|null | $end |
arrayToList(integer $page, integer $number_per_page, array<mixed,string>|array<mixed,array> $array, null|array<mixed,string> $nested_indices = null) : string
View public static function arrayToList It converts a given array to list in string format possible to display on phone
integer | $page | |
integer | $number_per_page | |
array<mixed,string>|array<mixed,array> | $array | |
null|array<mixed,string> | $nested_indices |