aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-07-19 16:47:08 -0300
committerSilvio <silvio@devlet.com.br>2010-07-19 16:47:08 -0300
commit2018efe9bd583378e11e7998070221faa92890b4 (patch)
treecb419bb9129e2649259c7cf25440fe926762f686
parentec7c2ae0788a6423909f93d9fb0c51da29585aa6 (diff)
downloadcinisis-2018efe9bd583378e11e7998070221faa92890b4.tar.gz
cinisis-2018efe9bd583378e11e7998070221faa92890b4.tar.bz2
Renaming getField() and getFields() to getMainField() and getMainFields()
-rw-r--r--classes/IsisConnector.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/IsisConnector.php b/classes/IsisConnector.php
index a5b5227..da19fde 100644
--- a/classes/IsisConnector.php
+++ b/classes/IsisConnector.php
@@ -108,7 +108,7 @@ class IsisConnector {
* @return
* Field data.
*/
- public function getField($field, $row = 0) {
+ public function getMainField($field, $row = 0) {
$name = $this->getMainFieldName($field);
if (isset($this->result[$field['name']][$row][$name])) {
@@ -125,9 +125,9 @@ class IsisConnector {
* @return
* Field data.
*/
- public function getFields($field) {
+ public function getMainFields($field) {
foreach (new IsisRowIterator($this, $field) as $row) {
- $values[$row] = $this->getField($field, $row);
+ $values[$row] = $this->getMainField($field, $row);
}
return $values;