Questions tagged [classes]
The classes tag has no usage guidance.
6
questions
0
votes
1
answer
30
views
Using File Model to Save XML
EE 5.2.6
I've written an add-on that takes date parameters and gets an order report from an Amazon seller account using the Amazon MWS API. The result for this operation is a nice, big XML object.
...
2
votes
1
answer
108
views
Channel Entry Model Not Saving Custom Fields
EE 5.2.4
I am using the ee model class to save channel entries via AJAX.
Everything is working well except for custom fields, which don't save.
Here is the code:
$entry = ee('Model')->...
2
votes
1
answer
218
views
Creating Custom Libraries In ExpressionEngine
In EE I am trying to create a php class that will query an API. When I look at the documentation for creating your own library classes (here: https://docs.expressionengine.com/latest/development/...
0
votes
2
answers
263
views
EE DB Class question
I've got this code:
$res = $this->EE->db->where(array('EventCode' =>$r["eventcode"]))
->limit(1)
->get('exp_course_events');
$course_date = $res->row('FormalDate');
...
0
votes
2
answers
126
views
Input Class in template
Is it possible to use the EE Classes within a template?
Are they only available for add-on development?
Thanks,
Patrick
1
vote
0
answers
227
views
Exp:resso Store - Limit Stock not working in Store 2 [closed]
My client needs to be able to manually set a product 'out of stock'. In store v1 they could do this simply by ticking the limit stock check box on the relevant product page (against the relevant ...