diff options
-rw-r--r-- | lib/sfIsisImporterWrapper.class.php | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/lib/sfIsisImporterWrapper.class.php b/lib/sfIsisImporterWrapper.class.php deleted file mode 100644 index 6d0b195..0000000 --- a/lib/sfIsisImporterWrapper.class.php +++ /dev/null @@ -1,39 +0,0 @@ -<?php - -class sfIsisImporterWrapper { - /** - * Constructor. - */ - public function __construct($isis) - { - $this->isis = $isis; - } - - /** - * Make an association with a given model. - * - * @param object $model Model for the association - */ - public function useModel($model) - { - $this->model = $model; - } - - /** - * Get the current subfield from the current field and row. - * - * @param boolean $explode Whether to explode the result - * @return string Subfield value - */ - public function currentSubfield($explode = false) - { - if ($explode) - { - return $this->isis->explodeSubfield($this->field, $this->subfield, $this->row); - } - else - { - return $this->isis->getSubfield($this->field, $this->subfield, $this->row); - } - } -} |