title: Codeigniter: How to pass parameters to a model method like an object
body: <p>I have always seen parameters passed to model methods in the form <code>$this-&gt;example_model-&gt;method('Some Title');</code></p>
  
  <p>I recently saw an answer on here (can't find it now) that said that a properly created model should receive parameters to a method like this:</p>
  
  <pre><code>$this-&gt;example_model-&gt;method-&gt;title = 'Some Title';
  </code></pre>
  
  <p>I can't seem to figure out how to do this, what would the model method look like to achieve this? Is this truly how parameters should be passed?</p>