We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
1 | <?php |
||
5 | trait Views |
||
6 | { |
||
7 | protected $detailsRowView = 'crud::details_row'; |
||
8 | protected $revisionsView = 'crud::revisions'; |
||
9 | protected $reorderView = 'crud::reorder'; |
||
10 | protected $listView = 'crud::list'; |
||
11 | |||
12 | protected $createView = 'crud::create'; |
||
13 | protected $editView = 'crud::edit'; |
||
14 | protected $showView = 'crud::show'; |
||
15 | |||
16 | /** |
||
17 | * Sets the details row template. |
||
18 | * @param string $view name of the template file |
||
19 | * @return string $view name of the template file |
||
20 | */ |
||
21 | public function setDetailsRowView($view) |
||
27 | |||
28 | /** |
||
29 | * Gets the details row template. |
||
30 | * @return string name of the template file |
||
31 | */ |
||
32 | public function getDetailsRowView() |
||
36 | |||
37 | /** |
||
38 | * Sets the revision template. |
||
39 | * @param string $view name of the template file |
||
40 | * @return string $view name of the template file |
||
41 | */ |
||
42 | public function setRevisionsView($view) |
||
48 | |||
49 | /** |
||
50 | * Gets the revisions template. |
||
51 | * @return string name of the template file |
||
52 | */ |
||
53 | public function getRevisionsView() |
||
57 | |||
58 | /** |
||
59 | * Sets the reorder template. |
||
60 | * @param string $view name of the template file |
||
61 | * @return string $view name of the template file |
||
62 | */ |
||
63 | public function setReorderView($view) |
||
69 | |||
70 | /** |
||
71 | * Gets the reorder template. |
||
72 | * @return string name of the template file |
||
73 | */ |
||
74 | public function getReorderView() |
||
78 | |||
79 | /** |
||
80 | * Sets the list template. |
||
81 | * @param string $view name of the template file |
||
82 | * @return string $view name of the template file |
||
83 | */ |
||
84 | public function setListView($view) |
||
90 | |||
91 | /** |
||
92 | * Gets the list template. |
||
93 | * @return string name of the template file |
||
94 | */ |
||
95 | public function getListView() |
||
99 | |||
100 | /** |
||
101 | * Sets the list template. |
||
102 | * @param string $view name of the template file |
||
103 | * @return string $view name of the template file |
||
104 | */ |
||
105 | public function setCreateView($view) |
||
111 | |||
112 | /** |
||
113 | * Gets the create template. |
||
114 | * @return string name of the template file |
||
115 | */ |
||
116 | public function getCreateView() |
||
120 | |||
121 | /** |
||
122 | * Sets the edit template. |
||
123 | * @param string $view name of the template file |
||
124 | * @return string $view name of the template file |
||
125 | */ |
||
126 | public function setEditView($view) |
||
132 | |||
133 | /** |
||
134 | * Gets the edit template. |
||
135 | * @return string name of the template file |
||
136 | */ |
||
137 | public function getEditView() |
||
141 | |||
142 | /** |
||
143 | * Sets the show template. |
||
144 | * @param string $view name of the template file |
||
145 | * @return string $view name of the template file |
||
146 | */ |
||
147 | public function setShowView($view) |
||
153 | |||
154 | /** |
||
155 | * Gets the show template. |
||
156 | * @return string name of the template file |
||
157 | */ |
||
158 | public function getShowView() |
||
162 | } |
||
163 |