Questions tagged [addattribute]
38 questions
0
votes
1 answer
Magento - how to get more values from addAttributeToFilter?
Hello I hope someone can help me figure out what to do!
I need to get several results from magento. The following code works:
private $_orderstatusToFilter = array("processing", "done");
->addAttributeToFilter('status',array('eq' =>…

Myron
- 120
- 6
0
votes
2 answers
Load XML File in PHP and add Child if not exists
i want to load XML data into my php file with address data.
Each address should also have coordinates - if not they should be added. So i am doing the following:
$xmlDatei = "AddressData.xml";
$xml = simplexml_load_file($xmlDatei);
…

Tim Döring
- 41
- 1
- 8
0
votes
1 answer
Adding multiple StyleConstants to an AttributeSet
I have a string of text: "This is a || mountain to || on."
I want || and || to appear red, italic, FontSize 9.
I've set individual AttributeSets
StyleContext myProtected = StyleContext.getDefaultStyleContext();
AttributeSet…

Jedi Grunge
- 27
- 7
0
votes
1 answer
wso2 governance registry 4.6 add attibute to a table with maxoccurs via api
I created a table with maxoccurs="unbounded" to set the operations of a service.
The table has a input-text and a textarea.