src/snac/data/AbstractTermData.php
/**
     * Required method to import an array into this term structure.
     *
     * @param string[][] $data The data for this object in an associative array
     */
Required method to import an array into this term structure.
@param string[][] $data The data for this object in an associative array
Required method to import an array into this term structure . @param string [] [] $data The data for this object in an associative array
public function fromArray($data) {
        if (!isset($data["dataType"]) || $data["dataType"] != $this->dataType)
            return false;
        parent::fromArray($data);
        unset($this->term);
        if (isset($data["term"]))
            $this->term = new \snac\data\Term($data["term"]);
        else
            $this->term = null;
    }
public function fromArray ( $ data ) { if ( ! isset ( $ data [ " dataType " ] ) || $ data [ " dataType " ] != $ this -> dataType ) return false ; parent :: fromArray ( $ data ) ; unset ( $ this -> term ) ; if ( isset ( $ data [ " term " ] ) ) $ this -> term = new \ snac \ data \ Term ( $ data [ " term " ] ) ; else $ this -> term = null ; }
Required method to import an array into this term structure.
Required method to import an array into this term structure .