Files
luos/workflow/engine/classes/model/Session.php

38 lines
874 B
PHP
Raw Normal View History

2010-12-02 23:34:41 +00:00
<?php
2011-01-31 14:14:55 +00:00
/**
* Session.php
* @package workflow.engine.classes.model
*/
2010-12-02 23:34:41 +00:00
require_once 'classes/model/om/BaseSession.php';
/**
* Skeleton subclass for representing a row from the 'SESSION' table.
*
2012-10-20 16:52:15 -04:00
*
2010-12-02 23:34:41 +00:00
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
2011-01-31 14:14:55 +00:00
* @package workflow.engine.classes.model
2010-12-02 23:34:41 +00:00
*/
2012-10-20 16:52:15 -04:00
class Session extends BaseSession
{
2018-02-19 19:23:51 +00:00
/**
* Delete all records related to a user uid
* @param string $userUid User uid
* @return int
* @throws PropelException
*/
public function removeByUser($userUid)
{
$criteria = new Criteria();
$criteria->add(SessionPeer::USR_UID, $userUid);
$resultSet = SessionPeer::doDelete($criteria);
return $resultSet;
}
2012-10-20 16:52:15 -04:00
}
2010-12-02 23:34:41 +00:00