src/snac/data/AbstractTextData.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->text);
        if (isset($data["text"]))
            $this->text = $data["text"];
        else
            $this->text = null;
    }
public function fromArray ( $ data ) { if ( ! isset ( $ data [ " dataType " ] ) || $ data [ " dataType " ] != $ this -> dataType ) return false ; parent :: fromArray ( $ data ) ; unset ( $ this -> text ) ; if ( isset ( $ data [ " text " ] ) ) $ this -> text = $ data [ " text " ] ; else $ this -> text = null ; }
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