ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
class.GUIService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
27
32{
33 public function __construct(
34 protected InternalDataService $data,
35 protected InternalDomainService $domain,
36 protected InternalGUIService $gui
37 ) {
38 }
39
40 public function postingGUI(
41 int $a_node_id,
42 ?object $a_access_handler = null,
43 int $a_id = 0,
44 int $a_old_nr = 0,
45 bool $a_enable_public_notes = true,
46 bool $a_may_contribute = true,
47 int $a_style_sheet_id = 0
50 $a_node_id,
51 $a_access_handler,
52 $a_id,
53 $a_old_nr,
54 $a_enable_public_notes,
55 $a_may_contribute,
56 $a_style_sheet_id
57 );
58 }
59
60 public function postingList(
61 int $blog_id,
63 ?string $current_month = null,
64 ?int $node_id = null,
68 $this->data,
69 $this->domain,
70 $this->gui,
71 $this->domain->pageManager(),
72 $blog_id,
73 $perm,
74 $current_month,
75 $node_id,
76 $id_type
77 );
78 }
79
83 public function getSnippet(
84 int $a_id,
85 bool $a_truncate = false,
86 int $a_truncate_length = 500,
87 string $a_truncate_sign = "...",
88 bool $a_include_picture = false,
89 int $a_picture_width = 144,
90 int $a_picture_height = 144,
91 ?string $a_export_directory = null
92 ): string {
93 $bpgui = $this->postingGUI(0, null, $a_id);
94 return $bpgui->getSnippet(
95 $a_truncate,
96 $a_truncate_length,
97 $a_truncate_sign,
98 $a_include_picture,
99 $a_picture_width,
100 $a_picture_height,
101 $a_export_directory
102 );
103 }
104}
GUI service for blog postings.
postingGUI(int $a_node_id, ?object $a_access_handler=null, int $a_id=0, int $a_old_nr=0, bool $a_enable_public_notes=true, bool $a_may_contribute=true, int $a_style_sheet_id=0)
getSnippet(int $a_id, bool $a_truncate=false, int $a_truncate_length=500, string $a_truncate_sign="...", bool $a_include_picture=false, int $a_picture_width=144, int $a_picture_height=144, ?string $a_export_directory=null)
Get first text paragraph of page.
__construct(protected InternalDataService $data, protected InternalDomainService $domain, protected InternalGUIService $gui)
postingList(int $blog_id, PermissionManager $perm, ?string $current_month=null, ?int $node_id=null, int $id_type=\ilObjBlogGUI::REPOSITORY_NODE_ID)
Class ilBlogPosting GUI class.
return['3gp', '7z', 'ai', 'aif', 'aifc', 'aiff', 'au', 'arw', 'avi', 'backup', 'bak', 'bas', 'bpmn', 'bpmn2', 'bmp', 'bib', 'bibtex', 'bz', 'bz2', 'c', 'c++', 'cc', 'cct', 'cdf', 'cer', 'class', 'cls', 'conf', 'cpp', 'crt', 'crs', 'crw', 'cr2', 'css', 'cst', 'csv', 'cur', 'db', 'dcr', 'des', 'dng', 'doc', 'docx', 'dot', 'dotx', 'dtd', 'dvi', 'el', 'eps', 'epub', 'f', 'f77', 'f90', 'flv', 'for', 'g3', 'gif', 'gl', 'gan', 'ggb', 'gsd', 'gsm', 'gtar', 'gz', 'gzip', 'h', 'hpp', 'htm', 'html', 'htmls', 'ibooks', 'ico', 'ics', 'ini', 'ipynb', 'java', 'jbf', 'jpeg', 'jpg', 'js', 'jsf', 'jso', 'json', 'latex', 'lang', 'less', 'log', 'lsp', 'ltx', 'm1v', 'm2a', 'm2v', 'm3u', 'm4a', 'm4v', 'markdown', 'm', 'mat', 'md', 'mdl', 'mdown', 'mid', 'min', 'midi', 'mobi', 'mod', 'mov', 'movie', 'mp2', 'mp3', 'mp4', 'mpa', 'mpeg', 'mpg', 'mph', 'mpga', 'mpp', 'mpt', 'mpv', 'mpx', 'mv', 'mw', 'mv4', 'nb', 'nbp', 'nef', 'nif', 'niff', 'obj', 'obm', 'odt', 'ods', 'odp', 'odg', 'odf', 'oga', 'ogg', 'ogv', 'old', 'p', 'pas', 'pbm', 'pcl', 'pct', 'pcx', 'pdf', 'pgm', 'pic', 'pict', 'png', 'por', 'pov', 'project', 'properties', 'ppa', 'ppm', 'pps', 'ppsx', 'ppt', 'pptx', 'ppz', 'ps', 'psd', 'pwz', 'qt', 'qtc', 'qti', 'qtif', 'r', 'ra', 'ram', 'rar', 'rast', 'rda', 'rev', 'rexx', 'ris', 'rf', 'rgb', 'rm', 'rmd', 'rmi', 'rmm', 'rmp', 'rt', 'rtf', 'rtx', 'rv', 's', 's3m', 'sav', 'sbs', 'sec', 'sdml', 'sgm', 'sgml', 'smi', 'smil', 'srt', 'sps', 'spv', 'stl', 'svg', 'swa', 'swf', 'swz', 'tar', 'tex', 'texi', 'texinfo', 'text', 'tgz', 'tif', 'tiff', 'ttf', 'txt', 'tmp', 'uvproj', 'vdf', 'vimeo', 'viv', 'vivo', 'vrml', 'vsdx', 'vtt', 'wav', 'webm', 'wmv', 'wmx', 'wmz', 'woff', 'wwd', 'xhtml', 'xif', 'xls', 'xlsx', 'xmind', 'xml', 'xsl', 'xsd', 'zip']
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
$data
Definition: storeScorm.php:45