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

How to echo this specific value from a Database
Embedding a php function within a php form template variable
Yii - PHP error after content saying that LogDetailFilter couldn’t be found
mysql query , gives me wrong number of rows am after
How do I include a range of lines of a file in php?
How to display and manipulate visual objects in a web app?
Please help me with my comment sections sql query
How to extract data from this JSON ? [closed]
Image cropping and thumb creation
How to draw a name in a database [duplicate]
PHP: Generating category/subcategory UL list from array?
wikipedia servers gzip content
How to escape ' in setParameter
onclick submit check php
php: how to shoow session variable on every php page [duplicate]
Multilingual site: switching languages

Categories

HOME
cocoapods
xpath
weblogic12c
vagrant
bots
kivy
filesize
embedded-resource
adobe
openlayers-3
implicit-conversion
share
graphql-js
pyresttest
kurento
jpa-criteria
lapack
watch-os-3
buffer
c#-7.0
vertica
fosuserbundle
gravity
exec-maven-plugin
cloudsim
bazaar
home
clr
angular2-highcharts
dashdb
uislider
ini
network-analysis
annotation-processing
argv
xcrun
cucumber-junit
textmate2
keyboard-layout
assertions
cargo
linq.js
spring-restcontroller
dagger
fiware-wirecloud
zend-form
asihttprequest
kitura
section508
dblink
kendo-editor
business-rules
adobe-reader
perl-data-structures
rational-performance-test
xcode6.4
livereload
openseadragon
highlighting
urbit
vaadin4spring
taco
wepay
myfaces
pack
odesk
opencyc
apache-commons-digester
angular-amd
deque
rfc5545
nsmutabledata
mutators
nanomsg
sql-processor
datagridcomboboxcolumn
iplimage
xhprof
mobile-country-code
quantify
jmenubar
vlab
san
codahale-metrics
tnt4j
acceptance-testing
spiral
session-0-isolation
icenium
differentiation
database-deadlocks
simile
dip
urchin
.net-services
browser-based
yahoo-maps
bucket

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App