<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>DHAIR2: PatientAssociate Class Reference</title>
<link href="../../doxygen.css" rel="stylesheet" type="text/css">
<link href="../../tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="../../index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="../../namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="../../annotated.html"><span>Classes</span></a></li>
    <li>
      <form action="../../search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="../../annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="../../hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="../../functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>PatientAssociate Class Reference</h1><!-- doxytag: class="PatientAssociate" --><!-- doxytag: inherits="AppModel" --><div class="dynheader">
Inheritance diagram for PatientAssociate:</div>
<div class="dynsection">

<p><center><img src="../../de/d63/classPatientAssociate.png" usemap="#PatientAssociate_map" border="0" alt=""></center>
<map name="PatientAssociate_map">
</map>
</div>

<p>
<a href="../../d5/d8a/classPatientAssociate-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3163fd014a399c0dccb94d3d7cae6932"></a><!-- doxytag: member="PatientAssociate::countForPatientJournal" ref="3163fd014a399c0dccb94d3d7cae6932" args="($patient_id)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>countForPatientJournal</b> ($patient_id)</td></tr>

<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="821f8762aba39015c29fed74ff3e7a7f"></a><!-- doxytag: member="PatientAssociate::$name" ref="821f8762aba39015c29fed74ff3e7a7f" args="" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>$name</b> = &quot;PatientAssociate&quot;</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1b477ef9589643785b5f6a7c7f3f394d"></a><!-- doxytag: member="PatientAssociate::$useTable" ref="1b477ef9589643785b5f6a7c7f3f394d" args="" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>$useTable</b> = &quot;patients_associates&quot;</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="78b87fcff6874c80559dce177d1bb35d"></a><!-- doxytag: member="PatientAssociate::$primaryKey" ref="78b87fcff6874c80559dce177d1bb35d" args="" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>$primaryKey</b> = &quot;id&quot;</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6a54b69164de94dc59049ad7460aacca"></a><!-- doxytag: member="PatientAssociate::$belongsTo" ref="6a54b69164de94dc59049ad7460aacca" args="" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>$belongsTo</b> = array(&quot;Patient&quot;, &quot;<a class="el" href="../../d1/d41/classAssociate.html">Associate</a>&quot;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><b>$hasAndBelongsToMany</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="66a8e0acf7290babaf0a38825346adea"></a><!-- doxytag: member="PatientAssociate::$validate" ref="66a8e0acf7290babaf0a38825346adea" args="" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>$validate</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0ca548fc0bc60b7022c1d70038ccc9d0"></a><!-- doxytag: member="PatientAssociate::$count" ref="0ca548fc0bc60b7022c1d70038ccc9d0" args="" -->
return&nbsp;</td><td class="memItemRight" valign="bottom"><b>$count</b></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Copyright 2013 University of Washington, School of Nursing. <a href="http://opensource.org/licenses/BSD-3-Clause">http://opensource.org/licenses/BSD-3-Clause</a> <hr><h2>Member Data Documentation</h2>
<a class="anchor" name="b323350ddab8b46be3e6d56e4b8df364"></a><!-- doxytag: member="PatientAssociate::$hasAndBelongsToMany" ref="b323350ddab8b46be3e6d56e4b8df364" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PatientAssociate::$hasAndBelongsToMany          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<b>Initial value:</b><div class="fragment"><pre class="fragment"> array(<span class="stringliteral">"Subscale"</span> =&gt; 
        array(<span class="stringliteral">'className'</span>             =&gt; <span class="stringliteral">"Subscale"</span>,
            <span class="stringliteral">'joinTable'</span>               =&gt; <span class="stringliteral">"patients_associates_subscales"</span>,
            <span class="stringliteral">'foreignKey'</span>              =&gt; <span class="stringliteral">"patient_associate_id"</span>,
            <span class="stringliteral">"dependent"</span>               =&gt; <span class="keyword">true</span>,
            <span class="stringliteral">'associationForeignKey'</span>   =&gt; <span class="stringliteral">'subscale_id'</span>
        ))
</pre></div>
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/var/lib/jenkins/jobs/CPRO doc auto-generation - GitHub Repo/workspace/app/Model/PatientAssociate.php</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Dec 23 10:49:47 2013 for DHAIR2 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="../../doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>
