Go to the documentation of this file.
58 $sTable = getViewName(
"oxactions" );
61 if ( $sDisplayType ) {
63 $sNow = date(
'Y-m-d H:i:s',
oxRegistry::get(
"oxUtilsDate")->getTime() );
65 switch ( $sDisplayType ) {
67 $sQ .=
" and {$sTable}.oxactivefrom < '{$sNow}' and {$sTable}.oxactiveto > '{$sNow}' ";
70 $sQ .=
" and {$sTable}.oxactivefrom > '{$sNow}' ";
73 $sQ .=
" and {$sTable}.oxactiveto < '{$sNow}' and {$sTable}.oxactiveto != '0000-00-00 00:00:00' ";