Definition at line 23 of file SharedNotification.php.
 
◆ __construct()
      
        
          | ILIAS\Portfolio\Notification\SharedNotification::__construct  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ appendObjectInformation()
  
  
      
        
          | ILIAS\Portfolio\Notification\SharedNotification::appendObjectInformation  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Definition at line 72 of file SharedNotification.php.
References ilMailNotification\$obj_id, ilMailNotification\$type, ilObject\_lookupTitle(), ilObject\_lookupType(), ilMailNotification\appendBody(), ilMailNotification\getLanguage(), ilUserUtil\getNamePresentation(), ilWorkspaceAccessGUI\PERMISSION_ALL, ilWorkspaceAccessGUI\PERMISSION_ALL_PASSWORD, and ilWorkspaceAccessGUI\PERMISSION_REGISTERED.
Referenced by ILIAS\Portfolio\Notification\SharedNotification\send().
   75         foreach ($this->shared_to_obj_ids as 
$obj_id) {
    88         if (count($users) > 1) {
    90             $this->
appendBody(
"\n" . implode(
"\n", $users));
    92         if (count($users) === 1) {
 
appendBody(string $a_body)
 
const PERMISSION_ALL_PASSWORD
 
const PERMISSION_REGISTERED
 
static getNamePresentation( $a_user_id, bool $a_user_image=false, bool $a_profile_link=false, string $a_profile_back_link='', bool $a_force_first_lastname=false, bool $a_omit_login=false, bool $a_sortable=true, bool $a_return_data_array=false, $a_ctrl_path='ilpublicuserprofilegui')
Default behaviour is: 
 
static _lookupTitle(int $obj_id)
 
static _lookupType(int $id, bool $reference=false)
 
 
 
 
◆ initLanguage()
  
  
      
        
          | ILIAS\Portfolio\Notification\SharedNotification::initLanguage  | 
          ( | 
          int  | 
          $a_usr_id | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ send()
      
        
          | ILIAS\Portfolio\Notification\SharedNotification::send  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 40 of file SharedNotification.php.
References ilLink\_getStaticLink(), ilMailNotification\appendBody(), ILIAS\Portfolio\Notification\SharedNotification\appendObjectInformation(), ilMailNotification\getLanguage(), ilMailNotification\getLanguageText(), ilMailNotification\getMail(), ilMailNotification\getObjectTitle(), ilMailNotification\getObjId(), ilMail\getSalutation(), ILIAS\Portfolio\Notification\SharedNotification\initLanguage(), ilMailNotification\initMail(), ilMailNotification\sendMail(), ilMailNotification\setBody(), ilMailNotification\setSubject(), and ILIAS\Repository\user().
   42         $rcp = $this->
user->getId();
    65         $this->
getMail()->appendInstallationSignature(
true);
 
appendBody(string $a_body)
 
initLanguage(int $a_usr_id)
 
sendMail(array $a_rcp, bool $a_parse_recipients=true)
 
appendObjectInformation()
 
static getSalutation(int $a_usr_id, ?ilLanguage $a_language=null)
 
static _getStaticLink(?int $a_ref_id, string $a_type='', bool $a_fallback_goto=true, string $append="")
 
getLanguageText(string $a_keyword)
 
getObjectTitle(bool $a_shorten=false)
 
setSubject(string $a_subject)
 
 
 
 
◆ setSharedToObjectIds()
      
        
          | ILIAS\Portfolio\Notification\SharedNotification::setSharedToObjectIds  | 
          ( | 
          array  | 
          $a_val | ) | 
           | 
        
      
 
 
◆ $shared_to_obj_ids
  
  
      
        
          | array ILIAS\Portfolio\Notification\SharedNotification::$shared_to_obj_ids = [] | 
         
       
   | 
  
protected   | 
  
 
 
◆ $user
  
  
      
        
          | ilObjUser ILIAS\Portfolio\Notification\SharedNotification::$user | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following file: