update
This commit is contained in:
parent
7eede35961
commit
b898ffccae
@ -8,7 +8,7 @@ Display the daily scripture from [https://github.com/trueChristian/daily-scriptu
|
||||
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||
+ *Name*: [Dailyscripture](https://www.vdm.io/)
|
||||
+ *First Build*: 22nd October, 2015
|
||||
+ *Last Build*: 6th January, 2022
|
||||
+ *Last Build*: 7th January, 2022
|
||||
+ *Version*: 1.0.1
|
||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
12
helper.php
12
helper.php
@ -42,7 +42,7 @@ class ModDailyScriptureHelper
|
||||
/**
|
||||
* Scripture
|
||||
*
|
||||
* @var mix
|
||||
* @var mixed
|
||||
* @since 1.0
|
||||
*/
|
||||
protected $scripture = null;
|
||||
@ -74,11 +74,14 @@ class ModDailyScriptureHelper
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param Registry $params the module settings
|
||||
* @param Registry|null $params the module settings
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
public function __construct(Registry $params = null)
|
||||
{
|
||||
// we must have the params or we cant continue
|
||||
if ($params)
|
||||
{
|
||||
// set the global params
|
||||
$this->params = $params;
|
||||
@ -100,6 +103,7 @@ class ModDailyScriptureHelper
|
||||
$this->setTelegram();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Waco method to get an scripture value
|
||||
@ -126,7 +130,7 @@ class ModDailyScriptureHelper
|
||||
/**
|
||||
* get the Telegram script
|
||||
*
|
||||
* @return string data-color values
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
@ -161,6 +165,8 @@ class ModDailyScriptureHelper
|
||||
/**
|
||||
* get today's time stamp based on user
|
||||
*
|
||||
* @param string $getDate the string to get the time stamp for
|
||||
*
|
||||
* @return int the timestamp
|
||||
*
|
||||
* @since 1.0
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<extension type="module" version="4" client="site" method="upgrade">
|
||||
<name>MOD_DAILYSCRIPTURE</name>
|
||||
<creationDate>6th January, 2022</creationDate>
|
||||
<creationDate>7th January, 2022</creationDate>
|
||||
<author>Llewellyn van der Merwe</author>
|
||||
<authorEmail>joomla@vdm.io</authorEmail>
|
||||
<authorUrl>https://www.vdm.io/</authorUrl>
|
||||
|
Loading…
Reference in New Issue
Block a user