Skip to content

Commit d057580

Browse files
authored
First clean up to webservices
1 parent 263817f commit d057580

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

src/api/components/com_weblinks/Controller/WeblinksController.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,23 @@
2020
/**
2121
* The weblinks controller
2222
*
23-
* @since 4.0.0
23+
* @since __DEPLOY_VERSION__
2424
*/
2525
class WeblinksController extends ApiController
2626
{
2727
/**
2828
* The content type of the item.
2929
*
3030
* @var string
31-
* @since 4.0.0
31+
* @since __DEPLOY_VERSION__
3232
*/
3333
protected $contentType = 'weblinks';
3434

3535
/**
3636
* The default view for the display method.
3737
*
3838
* @var string
39-
* @since 3.0
39+
* @since __DEPLOY_VERSION__
4040
*/
4141
protected $default_view = 'weblinks';
4242

@@ -47,7 +47,7 @@ class WeblinksController extends ApiController
4747
*
4848
* @return integer The record ID on success, false on failure
4949
*
50-
* @since 4.0.0
50+
* @since __DEPLOY_VERSION__
5151
*/
5252
protected function save($recordKey = null)
5353
{

src/api/components/com_weblinks/View/Weblinks/JsonApiView.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
/**
2121
* The weblinks view
2222
*
23-
* @since 4.0.0
23+
* @since __DEPLOY_VERSION__
2424
*/
2525
class JsonApiView extends BaseApiView
2626
{
2727
/**
2828
* The fields to render item in the documents
2929
*
3030
* @var array
31-
* @since 4.0.0
31+
* @since __DEPLOY_VERSION__
3232
*/
3333
protected $fieldsToRenderItem = [
3434
'id',
@@ -66,7 +66,7 @@ class JsonApiView extends BaseApiView
6666
* The fields to render items in the documents
6767
*
6868
* @var array
69-
* @since 4.0.0
69+
* @since __DEPLOY_VERSION__
7070
*/
7171
protected $fieldsToRenderList = [
7272
'id',
@@ -98,7 +98,7 @@ class JsonApiView extends BaseApiView
9898
*
9999
* @return string
100100
*
101-
* @since 4.0.0
101+
* @since __DEPLOY_VERSION__
102102
*/
103103
public function displayList(?array $items = null)
104104
{
@@ -116,7 +116,7 @@ public function displayList(?array $items = null)
116116
*
117117
* @return string
118118
*
119-
* @since 4.0.0
119+
* @since __DEPLOY_VERSION__
120120
*/
121121
public function displayItem($item = null)
122122
{
@@ -134,7 +134,7 @@ public function displayItem($item = null)
134134
*
135135
* @return object
136136
*
137-
* @since 4.0.0
137+
* @since __DEPLOY_VERSION__
138138
*/
139139
protected function prepareItem($item)
140140
{

src/plugins/webservices/weblinks/services/provider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
* @return void
2828
*
29-
* @since 4.4.0
29+
* @since __DEPLOY_VERSION__
3030
*/
3131
public function register(Container $container): void
3232
{

src/plugins/webservices/weblinks/src/Extension/Weblinks.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
/**
2121
* Web Services adapter for com_weblinks.
2222
*
23-
* @since 4.0.0
23+
* @since __DEPLOY_VERSION__
2424
*/
25-
final class Weblinks extends CMSPlugin
25+
class Weblinks extends CMSPlugin
2626
{
2727
/**
2828
* Load the language file on instantiation.
2929
*
3030
* @var boolean
31-
* @since 4.0.0
31+
* @since __DEPLOY_VERSION__
3232
*/
3333
protected $autoloadLanguage = true;
3434

@@ -39,7 +39,7 @@ final class Weblinks extends CMSPlugin
3939
*
4040
* @return void
4141
*
42-
* @since 4.0.0
42+
* @since __DEPLOY_VERSION__
4343
*/
4444
public function onBeforeApiRoute(&$router)
4545
{
@@ -61,7 +61,7 @@ public function onBeforeApiRoute(&$router)
6161
*
6262
* @return void
6363
*
64-
* @since 4.0.0
64+
* @since __DEPLOY_VERSION__
6565
*/
6666
private function createFieldsRoutes(&$router)
6767
{

src/plugins/webservices/weblinks/weblinks.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<folder plugin="weblinks">services</folder>
1515
<folder>src</folder>
1616
</files>
17-
<languages folder="administrator/language">
17+
<languages folder="language">
1818
##LANGUAGE_FILES##
1919
</languages>
2020
</extension>

0 commit comments

Comments
 (0)