php


zend framework 2 module: call function to populate a dropdownlist in the frontend


Hi im busy creating a module.
Now my problem is, i really want to understand how i would approach this problem.
1.I got a front-end that needs a dropdownlist that must be populated with data from a service function call to an api.
MyService.php
public function myFunction() {
return $call->get(/list/);
}
Now how would i get the data as easy as possible to be used by others in the front-end when writing this Zend Framework 2 Module?
I would be happy to learn and be shown the right way.

Related Links

Split the decimal places in php
APACHE - PHP Fatal error: Can't use method return value in write context
php do while loop, display plus sign between results
Behat: Cannot kill web server process when done testing
Best practice - converting an internal value to one that is suitable for display / print purposes and vice versa [closed]
Twig - How to check if variable is a number / integer
Display single result on mysql
FPDF add button to back
php use bacon/bacon-qr-code to write to browser without writing to screen first
Connect PHP with Tally ERP 9 and Fetch Data
Controller syntax in PHP symfony
What's the quickest way to strip a string from a specific tag
PHP - Validate phone number
Why does only one of these PHP variables enter the global scope?
How do I compress image on client side in blueimp:- not resize
Configuring a submit button using AJAX that checks for the value of an incremented variable

Categories

HOME
openshift
nam
android-espresso
verification
focus
bokeh
swi-prolog
code-formatting
openlayers-3
apk
celery
fogbugz
openfoam
sharepoint-online
yahoo
spring-security-oauth2
android-externalstorage
async-await
pinterest
significance
psql
deepfreeze
opam
gitkraken
coreldraw
pymongo
ini
password-generator
tortoisehg
sales
tilemill
dotcms
opnet
rspec-rails
xmlunit
devtools
restful-architecture
textmate2
cartopy
best-buy-api
stat
plane
grails3.2.0
common-table-expression
.net-micro-framework
return-type
deployd
django-static-precompiler
sonicmq
gestures
emacs25
swiperefreshlayout
kendo-treeview
rustdoc
oid
fuzzer
openseadragon
piping
qpixmap
jemdoc
gwt-syncproxy
as3-api
univocity
ui4j
servicestack-bsd
cryptojs
ambiguity
extend
modern.ie
mobilefirst-server
artisan
unidata
prism-4
rfc5545
android-audiomanager
smacss
.htpasswd
compiler-flags
eclim
progress-db
chartfx
ui-design
xmlwriter
dojo-1.9
django-apps
drawimage
vows
representation
jquery-1.4
directshow.net
solandra
activestate
getimagesize
fxruby
tacit-programming
accumulator
rakudo

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App