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 way to execute SQL LIKE matching without a database query?
Data Mapper + Observer pattern
JQuery Ajax Post - JSON works with GET but NOT with POST
HTML data entry
Codeigniter - PHP Not Being Rendered In Views w/ mod_php 5
Security in PHP
Assign 10-digit char user ids to 1 of 1000 servers
Calculate possible combinations of an array in order of presented arrays
Is putting a php script in the src of the image tag slower than normal and by how much?
What is the best way to persist PHP application setings?
How to check if an email address exists without sending an email?
Find PHP Orphan Page
Generating Postscript using PHP: browser offers to save file
How can I do a “does not contain” operation in regex?
Failsafe looping trough array of urls
Matching a space in regex

Categories

HOME
mc
android-fragments
d3.js
visual-studio-2010
supercollider
position
onvif
solution
lapack
global-variables
async-await
scala-ide
xsl-fo
amazon-mws
angular2-highcharts
social-tables
bosun
batch-rename
restier
raima
uri
offline-caching
oracleforms
social-networking
winrm
gnu-classpath
netstat
python-jira
newtons-method
cloudera-sentry
dagger
oracle-bmcs
xcode8.2
intellij-lombok-plugin
viewmodel
rm
photoswipe
jgrapht
sequence-diagram
e
xmlbeans
ndk-build
bilinear-interpolation
pyaudio
wininet
system.net.mail
jeditable
vaadin4spring
jsr363
gdl
json-spirit
helm
perceptron
ibm-was
opencyc
unhandled
360-degrees
postal-code
fuseesb
nssortdescriptor
kognitio-wx2
wicket-1.5
visual-studio-6
visual-c++-2012
otl
screwturn
prism.js
code-complexity
forio-contour
miglayout
principalcontext
yii-booster
indesign-server
bcdedit
chartfx
rikulo
days
itunes-sdk
firebird1.5
kolite
qtextbrowser
servlet-container
sscli
ixmldomdocument
oracle-pro-c
dm
html-components
rawcontacts
rendering-engine

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