ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.InternalDataService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Blog;
22
23use ilDateTime;
25
30{
31 // protected ...\DataFactory ..._factory;
32
33 public function __construct()
34 {
35 //$this->..._factory = new ...\DataFactory();
36 }
37
38 public function settings(
39 int $id,
40 bool $profile_picture,
41 string $bg_color,
42 string $font_color,
43 bool $rss_active,
44 bool $approval,
45 bool $abs_shorten,
46 int $abs_shorten_len,
47 bool $abs_image,
48 int $abs_img_width,
49 int $abs_img_height,
50 bool $keywords,
51 bool $authors,
52 int $nav_mode,
53 int $nav_list_mon_with_post,
54 int $nav_list_mon,
55 int $ov_post,
56 array $nav_order = []
57 ): Settings\Settings {
58 return new Settings\Settings(
59 $id,
60 $profile_picture,
61 $bg_color,
62 $font_color,
63 $rss_active,
64 $approval,
65 $abs_shorten,
66 $abs_shorten_len,
67 $abs_image,
68 $abs_img_width,
69 $abs_img_height,
70 $keywords,
71 $authors,
72 $nav_mode,
73 $nav_list_mon_with_post,
74 $nav_list_mon,
75 $ov_post,
76 $nav_order
77 );
78 }
79
80 public function posting(
81 int $id,
82 int $blog_id,
83 string $title,
84 ilDateTime $created,
85 int $author,
86 bool $approved,
87 ?ilDateTime $last_withdrawn
88 ): Posting {
89 return new Posting(
90 $id,
91 $blog_id,
92 $title,
93 $created,
94 $author,
95 $approved,
96 $last_withdrawn
97 );
98 }
99}
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
settings(int $id, bool $profile_picture, string $bg_color, string $font_color, bool $rss_active, bool $approval, bool $abs_shorten, int $abs_shorten_len, bool $abs_image, int $abs_img_width, int $abs_img_height, bool $keywords, bool $authors, int $nav_mode, int $nav_list_mon_with_post, int $nav_list_mon, int $ov_post, array $nav_order=[])
posting(int $id, int $blog_id, string $title, ilDateTime $created, int $author, bool $approved, ?ilDateTime $last_withdrawn)
@classDescription Date and time handling
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...