Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OnlineBiz_Obbase
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tung Nguyen
OnlineBiz_Obbase
Commits
150d011d
Commit
150d011d
authored
Oct 31, 2015
by
brokentwill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Version 1.2.8 Add more magic functions in helper
parent
be7d9a9d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/code/local/OnlineBiz/ObBase/Helper/Data.php
app/code/local/OnlineBiz/ObBase/Helper/Data.php
+2
-2
No files found.
app/code/local/OnlineBiz/ObBase/Helper/Data.php
View file @
150d011d
...
...
@@ -31,7 +31,7 @@ class OnlineBiz_ObBase_Helper_Data extends Mage_Core_Helper_Abstract
}
public
function
isEnabled
()
{
return
$this
->
isActivated
(
'OnlineBiz_'
.
$this
->
getOwnModuleName
());
return
$this
->
_
isActivated
(
'OnlineBiz_'
.
$this
->
getOwnModuleName
());
}
//for writing trace or important information to log if debug is enabled
...
...
@@ -76,7 +76,7 @@ class OnlineBiz_ObBase_Helper_Data extends Mage_Core_Helper_Abstract
return
false
;
}
p
ublic
function
isActivated
(
$module
,
$key
=
false
,
$generalConfig
=
false
)
p
rotected
function
_
isActivated
(
$module
,
$key
=
false
,
$generalConfig
=
false
)
{
//no need to pass Enabled path
if
(
!
$generalConfig
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment