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

php code not inserting Values into database
Php, error with readfile, downloaded files do not open
open_basedir restriction in effect, but the directory *is specified* in php.ini
How to structure a PHP app to prevent including a library more than once?
NSUrl using stringwithformat to pass data to php page always returns sent value as zero [duplicate]
PHP Calculator Operator
using ajax to display dropdown. Handling ajax unsuccess request
Replacing PHP.ini as ec2-user with FileZilla
Update data using button in form
Returning full text search results
Making a get request with a url that has special characters
How can getSelectConditionSQL() output a IN ('sonata.ecommerce_demo.product.travel') statement?
Phalcon: How do I use my custom Validation class with forms?
Read XML commented value
Validate two models in Laravel 4.2
how to fetch image path from description element in RSS

Categories

HOME
openshift
list
mpdf
focus
barcode-scanner
long-integer
add-on
docker-cloud
tabs
twitter-fabric
sentry
minecraft
match
lapack
mailmerge
responsivevoice
supervisord
boomi
coroutine
cpu-usage
generator
pdf.js
opentext
plyr
multi-dimensional-scaling
crud
react-bootstrap-table
npoi
d3.js-v4
riotjs
counting
db2-luw
grails-2.5
nppexec
pdfminer
ms-solver-foundation
cargo
eclipse-gmf
netapp
moinmoin
wysihtml5
android-5.0-lollipop
entropy
punctuation
pen
apache-modules
polymaps
swiperefreshlayout
pecl
google-shopping-api
yargs
controllers
okio
zynq
tsqlt
noclassdeffounderror
rails-engines
jeditable
jemdoc
textblock
ioctl
http.client
highest
gluon-desktop
hmisc
green-threads
mathematical-expressions
encryption-symmetric
windows-rt
visual-studio-6
siena
treeline
jini
senchatouch-2.4
nosql-aggregation
mod-perl
non-ascii-characters
indesign-server
xs
html-frames
web-frameworks
ckeditor.net
semantic-merge
instance-variables
border-box
uploading
microblogging
mvcrecaptcha
net-use
firefly-mv
servlet-container
aptitude
jdownloader
mysqli-multi-query
bucket
icon-language
remote-working
account-management

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile