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

Accessing database from PHPUnit test
Dynamic Insert Query
Why http_parse_headers is undefined in my cli script?
wordpress, inserting values into custom post type not working
Nginx directory and index file configuration like Apache
How to update Guzzle service description for v5?
How to move In stock/Out of Stock availability up and remove 2nd price in Magento
Multidimensional array only returns first indexes
Cannot terminiate a process while running script from a browser
PHP Check to see if date is older than X number of days
Laravel Eloquent ORM - Is it possible set default select columns list?
PHP RegEx: Replace all relative paths in HTML-string, with absolute paths
PDO dblib over freetds resets fetch of query on sql server 2000 if another query is issued inside a fetch loop
Laravel - how to load Session Class?
How to make WordPress secure file download system
Symfony command triggered by crontab is not closing

Categories

HOME
visual-studio
magento2
bokeh
qc
writefile
out-of-memory
semantic-web
flurry
haxe
capistrano
google-search-console
wagtail
polymer-2.x
lda
locationmanager
chromecast
responsivevoice
jquery-select2-4
multi-step
fresco
hidden
xsl-fo
wsf
backtracking
connection-refused
managed-c++
ipa
clipboard
python-imageio
acrobat
sfml
openbr
lxml
gsp
bean-validation
char-pointer
pdfminer
numerics
jslint
twilio-php
strapi
mars-simulator
cheat-engine
reset
stat
jacoco-maven-plugin
klee
hdiv
secure-coding
pyttsx
dagger
spooler
web-inspector
git-tfs
type-inference
audio-converter
destroy
.net-micro-framework
ssi
image-registration
knockout-2.0
visual-format-language
mongodb-aggregation
gnome-terminal
lvalue
degrees
haraka
portal
libharu
seccomp
openseadragon
meld
urbit
ioctl
teensy
lovefield
cryptojs
astropy
gql
sequence-sql
angular-amd
unidata
shell-extensions
text-align
nsmutabledata
incron
fasterxml
thoughtworks-go
cout
device-admin
forio-contour
neo4jphp
miglayout
meteor-collections
air-native-extension
wso2bam
accountmanager
smips
grails-2.3
virtual-channel
postgres-xc
aero
ui-design
examine
xmlwriter
handshake
telerik-ajax
taskkill
uploading
yuidoc
datacontracts
digiflow
solandra
3270
gtktextview
accumulator
rakudo
suggestbox

Resources

Encrypt Message