summaryrefslogtreecommitdiffstats
path: root/class/TableIterator.php
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-07-26 19:39:57 +0200
committerRemi Collet <fedora@famillecollet.com>2014-07-26 19:39:57 +0200
commit64fb7ac1ff4fffe6c29e8eaa38967acc454a18ae (patch)
treed8fe5e502031b277c5eb5ad594115db3f7c5c647 /class/TableIterator.php
parentcdcd95d1b58672f097e20b0514338a960cf2cf80 (diff)
add parser to retrieve packagist package name from binary repository
Diffstat (limited to 'class/TableIterator.php')
-rw-r--r--class/TableIterator.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/class/TableIterator.php b/class/TableIterator.php
index 831e845..4a4c1b6 100644
--- a/class/TableIterator.php
+++ b/class/TableIterator.php
@@ -212,6 +212,11 @@ class TableIterator implements Iterator
} else if (is_numeric($value)) {
// Integer
$ret .= "$name=$value";
+ } else if (($value[0]=='>' || $value[0]=='<')
+ && is_numeric(substr($value,1))) {
+ // > integer
+ $ret .= "$name $value";
+
} else if (strpos($value,'%')===false){
// String
$ret .= "$name='$value'";