title: static arrays in cakephp3 for use in form selects
body: <p>I've just had a v1.3 site upgraded to v3 and it's buggy as all hell, the developer is away for the weekend and I'm trying to get things fixed.</p>
  
  <p>So in both my v1.3 site and my v2 site I'm able to have an array declared against a model eg My Person model might have </p>
  
  <pre><code>$salutation = array('Dr', 'Mr', Ms');
  </code></pre>
  
  <p>Then if my Order controller was creating a form and capturing a new user's details I could call </p>
  
  <pre><code>$this-&gt;set('salutation', $this-&gt;Order-&gt;Person-&gt;salutation);
  </code></pre>
  
  <p>and my view would have the right list for the form. It worked like a treat and I used that technique widely.</p>
  
  <p>HOWEVER that doesn't seem to be the way to do things in v3 so I've created a behavior called Listsbehavior and I've created a test example where I have my default list set up and I call it but I get an error</p>
  
  <pre><code>Error: Call to a member function setSalutation() on boolean 
  </code></pre>
  
  <p>Any hints on how to unravel my old school strategies and get the new ones working?</p>