Example #1
0
 /**
  * Exclude object from result
  *
  * @param   ChildSession $session Object to remove from the list of results
  *
  * @return $this|ChildSessionQuery The current query, for fluid interface
  */
 public function prune($session = null)
 {
     if ($session) {
         $this->addUsingAlias(SessionTableMap::COL_ID, $session->getId(), Criteria::NOT_EQUAL);
     }
     return $this;
 }
Example #2
0
File: base.php Project: antz29/base
 /**
  * @return Session;
  */
 public function getSession()
 {
     return Session::getInstance();
 }