Stud.IP  trunk Revision
persondetails.inc.php File Reference

Functions

 news (&$module, $row, $alias_content, $text_div, $text_div_end)
 
 termine (&$module, $row, $alias_content, $text_div, $text_div_end)
 
 kategorien (&$module, $row, $alias_content, $text_div, $text_div_end)
 
 lehre (&$module, $row, $alias_content, $text_div, $text_div_end)
 
 head (&$module, $row, $a)
 
 kontakt ($module, $row, $separate=FALSE)
 

Variables

if(Config::get() ->CALENDAR_ENABLE) $instituts_id = $this->config->range_id
 
 $username = $args['username']
 
 $sem_id = $args['seminar_id']
 
 $ext_vis_query = get_ext_vis_query()
 
 $query
 
 $statement = DBManager::get()->prepare($query)
 
 $temp = $statement->fetchColumn()
 
if(! $temp && $sem_id) if(! $temp && $sem_id) if(! $nameformat=$this->config->getValue('Main', 'nameformat')) if(! $temp && $sem_id) else
 
 $row = $statement->fetch(PDO::FETCH_ASSOC)
 
if(! $row) $aliases_content = $this->config->getValue("Main", "aliases")
 
 $visible_content = $this->config->getValue("Main", "visible")
 
 $text_div_end = ""
 
 $studip_link = $GLOBALS['ABSOLUTE_URI_STUDIP'] . 'dispatch.php/settings/account'
 
if($this->config->getValue("Main", "studiplink")=="top") if($generic_datafields=$this->config->getValue("Main", "genericdatafields")) $order = $this->config->getValue("Main", "order")
 
foreach($order as $positionif ( $this->config->getValue("Main", "studiplink")=="bottom")
 

Function Documentation

◆ head()

head ( $module,
  $row,
  $a 
)
Here is the call graph for this function:

◆ kategorien()

kategorien ( $module,
  $row,
  $alias_content,
  $text_div,
  $text_div_end 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ kontakt()

kontakt (   $module,
  $row,
  $separate = FALSE 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ lehre()

lehre ( $module,
  $row,
  $alias_content,
  $text_div,
  $text_div_end 
)
Here is the call graph for this function:

◆ news()

news ( $module,
  $row,
  $alias_content,
  $text_div,
  $text_div_end 
)
Here is the call graph for this function:

◆ termine()

termine ( $module,
  $row,
  $alias_content,
  $text_div,
  $text_div_end 
)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ $aliases_content

if (! $row) $aliases_content = $this->config->getValue("Main", "aliases")

◆ $ext_vis_query

$ext_vis_query = get_ext_vis_query()

◆ $instituts_id

if (Config::get() ->CALENDAR_ENABLE) $instituts_id = $this->config->range_id

◆ $order

if ( $this->config->getValue("Main", "studiplink")=="top") if ( $generic_datafields=$this->config->getValue("Main", "genericdatafields")) $order = $this->config->getValue("Main", "order")

◆ $query

$query
Initial value:
= "SELECT 1
FROM Institute
LEFT JOIN user_inst AS ui USING (Institut_id)
LEFT JOIN auth_user_md5 AS aum USING (user_id)
WHERE Institut_id = ? AND aum.username = ?
AND ui.inst_perms IN ('autor', 'tutor', 'dozent') AND {$ext_vis_query}"

◆ $row

$row = $statement->fetch(PDO::FETCH_ASSOC)

◆ $sem_id

$sem_id = $args['seminar_id']

◆ $statement

$statement = DBManager::get()->prepare($query)

◆ $studip_link

$studip_link = $GLOBALS['ABSOLUTE_URI_STUDIP'] . 'dispatch.php/settings/account'

◆ $temp

$temp = $statement->fetchColumn()

◆ $text_div_end

$text_div_end = ""

◆ $username

$username = $args['username']

◆ $visible_content

$visible_content = $this->config->getValue("Main", "visible")

◆ else

if ( $margin=$this->config->getValue("TableParagraphText", "margin")) else
Initial value:
{
$base_query = "SELECT i.Institut_id, i.Name, i.Strasse, i.Plz, i.url, ui.*, aum.*,
{$GLOBALS['_fullname_sql'][$nameformat]} AS fullname,
uin.user_id, uin.lebenslauf, uin.publi, uin.schwerp, uin.Home
FROM Institute AS i
LEFT JOIN user_inst AS ui USING (Institut_id)
LEFT JOIN auth_user_md5 AS aum USING (user_id)
LEFT JOIN user_info AS uin USING (user_id)
WHERE ui.inst_perms IN ('autor', 'tutor', 'dozent')
AND {$ext_vis_query} AND "

◆ if

foreach ( $order as $position) if($this->config->getValue("Main", "studiplink")=="bottom")