dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b6cda8
)
Implemented hasRules()
author
Evan McIntire
<mcintire.evan@gmail.com>
Mon, 29 Dec 2014 00:17:04 +0000
(19:17 -0500)
committer
Evan McIntire
<mcintire.evan@gmail.com>
Mon, 29 Dec 2014 00:37:29 +0000
(19:37 -0500)
hasRules() looks at $mRules and returns true for a non-empty string, and
false for an empty one
Change-Id: Ia7a1316498dc3f2753f61134705c9bd80fc9caeb
languages/ConverterRule.php
patch
|
blob
|
history
diff --git
a/languages/ConverterRule.php
b/languages/ConverterRule.php
index
a5e960f
..
e6625c1
100644
(file)
--- a/
languages/ConverterRule.php
+++ b/
languages/ConverterRule.php
@@
-445,10
+445,11
@@
class ConverterRule {
}
/**
- * @todo FIXME: code this function :)
+ * Checks if there are conversion rules.
+ * @return bool
*/
public function hasRules() {
- // TODO:
+ return $this->mRules !== '';
}
/**