eZPublishCommunityProject(LegacyStack)  2013.5
session.php File Reference

Namespaces

 kernel
 Autoloader definition for eZ Publish Kernel files.
 

Functions

 eZFetchActiveSessionCount ($params=array())
 
 eZFetchActiveSessions ($params=array())
 

Variables

 $expirationFilterType = 'active'
 
 $filterType = 'registered'
 
 $gcSessionsCompleted = true
 
 $http = eZHTTPTool::instance()
 
 $module = $Params['Module']
 
if(!eZSession::getHandlerInstance() ->
hasBackendAccess()) 
$param ['limit'] = 50
 
 $param ['sortby'] = false
 
 $param ['filter_type'] = $filterType
 
 $param ['expiration_filter'] = $expirationFilterType
 
 $param ['user_id'] = $userID
 
 $Result = array()
 
 $Result ['content'] = $tpl->fetch( "design:setup/session.tpl" )
 
 $Result ['path']
 
 $sessionsActive = eZSession::countActive()
 
 $sessionsCount = eZFetchActiveSessionCount( $param )
 
 $sessionsList = eZFetchActiveSessions( $param )
 
 $sessionsRemoved = false
 
 $tpl = eZTemplate::factory()
 
 $userID = $Params['UserID']
 
if($module->isCurrentAction(
'ShowAllUsers')) else if($module->
isCurrentAction( 'ChangeFilter'))
else if($module->
isCurrentAction(
'RemoveAllSessions')) else if($module->
isCurrentAction(
'RemoveTimedOutSessions'))
else if($module->
isCurrentAction(
'RemoveSelectedSessions')) 
$viewParameters = $Params['UserParameters']
 
 $viewParameters ['offset'] = 0
 
if(isset($viewParameters['offset'])
and is_numeric($viewParameters['offset'])) 
else
 

Function Documentation

eZFetchActiveSessionCount (   $params = array())
eZFetchActiveSessions (   $params = array())

Variable Documentation

$expirationFilterType = 'active'
$gcSessionsCompleted = true
$module = $Params['Module']
$param['sortby'] = false
$param['filter_type'] = $filterType
$param['expiration_filter'] = $expirationFilterType
$param['user_id'] = $userID
$Result = array()
$Result['content'] = $tpl->fetch( "design:setup/session.tpl" )
$Result['path']
Initial value:
= array( array( 'url' => false,
'text' => ezpI18n::tr( 'kernel/setup', 'Session admin' ) ) )
static tr($context, $source, $comment=null, $arguments=null)
Translates the source $source with context $context and optional comment $comment and returns the tra...
Definition: ezpi18n.php:86
$sessionsActive = eZSession::countActive()
$sessionsCount = eZFetchActiveSessionCount( $param )
$sessionsList = eZFetchActiveSessions( $param )
$sessionsRemoved = false
$userID = $Params['UserID']
if ($module->isCurrentAction( 'ShowAllUsers')) else if ($module->isCurrentAction( 'ChangeFilter')) else if ($module->isCurrentAction( 'RemoveAllSessions')) else if ($module->isCurrentAction( 'RemoveTimedOutSessions')) else if ($module->isCurrentAction( 'RemoveSelectedSessions')) $viewParameters = $Params['UserParameters']
$viewParameters['offset'] = 0
if (isset($viewParameters['offset']) and is_numeric($viewParameters['offset'])) else
Initial value:
{
$param['offset'] = 0
if(!eZSession::getHandlerInstance() ->hasBackendAccess()) $param['limit']
Definition: session.php:27