diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-01-05 15:58:24 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2017-03-27 18:44:50 +0200 |
commit | 68016e37983b882c51c6ac92da6f6cc1250676e5 (patch) | |
tree | 9f4f2cef8c8908f2f551f0678e4b6686de6dd5cc /application/api/controllers/ApiController.php | |
parent | b320c860f5c794c57c08ee2a65c9b73768aac23c (diff) | |
download | Shaarli-68016e37983b882c51c6ac92da6f6cc1250676e5.tar.gz Shaarli-68016e37983b882c51c6ac92da6f6cc1250676e5.tar.zst Shaarli-68016e37983b882c51c6ac92da6f6cc1250676e5.zip |
REST API: implement POST link service
Diffstat (limited to 'application/api/controllers/ApiController.php')
-rw-r--r-- | application/api/controllers/ApiController.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/application/api/controllers/ApiController.php b/application/api/controllers/ApiController.php index 1dd47f17..f35b923a 100644 --- a/application/api/controllers/ApiController.php +++ b/application/api/controllers/ApiController.php | |||
@@ -51,4 +51,14 @@ abstract class ApiController | |||
51 | $this->jsonStyle = null; | 51 | $this->jsonStyle = null; |
52 | } | 52 | } |
53 | } | 53 | } |
54 | |||
55 | /** | ||
56 | * Get the container. | ||
57 | * | ||
58 | * @return Container | ||
59 | */ | ||
60 | public function getCi() | ||
61 | { | ||
62 | return $this->ci; | ||
63 | } | ||
54 | } | 64 | } |