Paul Canning

Results 33 issues of Paul Canning

In my model, I'm writing a new method that calls several model methods inside a transaction. The queries all deal with deleting data. I am starting off with a call...

I am trying to get a simple observer working, but to no avail. I am using the following code (as shown in the documentation) ``` class Business_model extends MY_Model {...

I am struggling to write a custom "with()" method that involves two joins. I'll try to breakdown my tables: Users - generic table, users can be joined to other tables...

I'm trying to use the built in Relationship features, and it's not letting me use my own name when doing a join. E.G public $belongs_to = array('owner' => array('model' =>...

Is there a way to get records with case sensitivity in mind? If not, how would I go about adding it in?

I have three tables that are related, one to many Table A --< Table B --< Table C I needs to access info in Table A when using a record...

The documentation explains how to set up a one-to-many relationship, but who would I do a one to one relationship, when one table is involved in a one-to-many relationship with...

I need to use multiple time inputs in a repeater, and it is storing the data incorrectly. Example of how it is currently stored: ``` a:2:{ i:1;a:3:{ i:21;a:4:{i:0;s:2:"14";i:1;s:2:"50";i:2;s:2:"18";i:3;s:2:"24";} i:22;a:1:{i:0;s:6:"test 1";}...

I am have some issues with mkDir. I have an array that lists some files to download (using the filer-download.js addon) and I am looping through each array item using...

I have Require.JS in my JS folder, along side Flow.JS. I have added the script tag to load Require.JS, then in another script, called: ``` var flow = require('./flow'); ```...