Questions tagged [classes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
20 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. ...
1
vote
1answer
22 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
1answer
69 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
2answers
211 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
2answers
116 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
0answers
221 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 ...