Example #1
0
 private function get_cluster()
 {
     // A little caching
     if ($this->data['pid']) {
         if (isset($m_cluster)) {
             return $m_cluster;
         } else {
             return $m_cluster = Cluster::find_by_user($this);
         }
     }
     return false;
 }