Questions tagged [zend-config-xml]

11 questions
4
votes
1 answer

Zend: How to manage XML data where multiple elements have the same name using Zend_Config_Xml?

In attempting to extract data from an XML file using Zend_Config_Xml, I am looking for the best way of processing this data where multiple elements have the same name. Please take a look at the following example. Here is the XML file:
Hegemon
  • 433
  • 7
  • 21
1
vote
3 answers

Iterating zend_config_xml with only 1 child node?

I have a basic zend_config_xml instance that stores some inventory information such as which products are on replenishment (replenish_departments) vs which products can't be reordered (fashion_departments). (fyi our products are classified into…
user280725
  • 293
  • 1
  • 2
  • 7
1
vote
1 answer

XSD for Zend Forms config XML

Does such scheme exist? If yes, where can I find it?
darja
  • 4,985
  • 9
  • 33
  • 47
1
vote
0 answers

Config XML in Zend doesn't extends correctly

I have a problem within Zend_Config_Xml. I'm trying to extend the configuration but it didn't work. Right now, I have this code:
Cito
  • 1,659
  • 3
  • 22
  • 49
1
vote
1 answer

Zend Navigation routes in xml config not using passed in parameters

I have a route: resources.router.routes.page.route = "page/:page" resources.router.routes.page.defaults.module = "core" resources.router.routes.page.defaults.controller = "page" resources.router.routes.page.defaults.action =…
somejkuser
  • 8,856
  • 20
  • 64
  • 130
0
votes
1 answer

Zend simplexml_load_file() path not working in Apache in Ubuntu

I am trying to load an xml file from a helper method inside scripts folder with $styleData = new Zend_Config_Xml($this->view->baseUrl().'/styles/style1/style.xml'); And i am getting error Uncaught exception 'Zend_Config_Exception' with message…
S L
  • 14,262
  • 17
  • 77
  • 116
0
votes
2 answers

XML configuration of Zend_Form: child nodes and attributes not always equal?

A set of forms (using Zend_Form) that I have been working on were causing me some headaches trying to figure out what was wrong with my XML configuration, as I kept getting unexpected HTML output for a particular INPUT element. It was supposed to be…
cEz
  • 4,932
  • 1
  • 25
  • 38
0
votes
2 answers

How do I use multiple entries with Zend_Config_Xml?

I am trying to use multiple entries with Zend_Config_XML, but no luck so far. I have the following structure.
Moon
  • 22,195
  • 68
  • 188
  • 269
0
votes
1 answer

Zend Navigation - All XML possible options

I've searching for a while now but I didn't anything concluent. I'm searching for a blog or anything that explain and shows all possible options of a Zend_Navigation XML config file. I know those for…
Frederick Marcoux
  • 2,195
  • 1
  • 26
  • 57
0
votes
1 answer

Zend_Config_Xml

So i will list my problems here, please help First of all, i use Zend_Http_Client to call to an url: $client = new Zend_Http_Client('http://mydomain.com/Statistics.aspx?activity=top'); $response = $client->request('POST'); $response =…
-1
votes
2 answers

SimpleXML (Zend_Config_Xml actually) and foreach : which tag am I iterating?

I'm implementing a little event manager in order to use the Observer pattern. To subscribe my observers to my events, I'm using the following xml file :
LittleBigDev
  • 454
  • 4
  • 23