ltsecurityinc安防产品在线商城代码

This commit is contained in:
2026-09-14 17:47:10 +08:00
parent 57d8444c15
commit 6a3c9c5bd8
14539 changed files with 1775310 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
<?php
/**
* @author Olegnax
* @package Olegnax_GoogleMap
* @copyright Copyright (c) 2020 Olegnax (http://olegnax.com/). All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Olegnax\GoogleMap\Helper;
use Olegnax\Core\Helper\Helper as CoreHelper;
class Helper extends CoreHelper
{
const CONFIG_MODULE = 'olegnax_googlemaps';
const XML_PATH_ENABLE = 'general/enabled';
/**
* @return bool
*/
public function isEnabled()
{
return (bool)$this->getModuleConfig(static::XML_PATH_ENABLE);
}
}