Exemple #1
0
 public static function watchdog_label($rid = null, $events = array(), $details = true)
 {
     return Utils_RecordBrowserCommon::watchdog_label('task', __('Tasks'), $rid, $events, 'title', $details);
 }
Exemple #2
0
 public static function company_watchdog_label($rid = null, $events = array(), $details = true)
 {
     return Utils_RecordBrowserCommon::watchdog_label('company', __('Companies'), $rid, $events, 'company_name', $details);
 }
 public static function watchdog_label($rid = null, $events = array(), $details = true) {
     return Utils_RecordBrowserCommon::watchdog_label(
         'utils_attachment',
         __('Note'),
         $rid,
         $events,
         array('Utils_AttachmentCommon','note_title_with_attached_to'),
         $details
     );
 }
Exemple #4
0
 public static function watchdog_label($rid = null, $events = array(), $details = true)
 {
     return Utils_RecordBrowserCommon::watchdog_label('rc_mails', __('Mails'), $rid, $events, 'subject', $details);
 }
 public static function watchdog_label($rid = null, $events = array(), $details = true)
 {
     if ($rid !== null && !self::get_access($rid)) {
         return null;
     }
     $ret = Utils_RecordBrowserCommon::watchdog_label('utils_attachment', __('Note'), $rid, $events, null, $details);
     if ($rid && $ret) {
         $r = Utils_RecordBrowserCommon::get_record('utils_attachment', $rid);
         $of = Utils_RecordBrowserCommon::get_val('utils_attachment', 'attached_to', $r);
         $ret['title'] .= " [ {$of} ]";
     }
     return $ret;
 }
Exemple #6
0
 public static function watchdog_label($rid = null, $events = array(), $details = true)
 {
     return Utils_RecordBrowserCommon::watchdog_label('crm_assets', __('Assets'), $rid, $events, 'asset_name', $details);
 }