src/snac/data/AbstractGrouping.php
/**
     * Required method to import an array into this data object
     *
     * @param string[][] $data The data for this object in an associative array
     */
Required method to import an array into this data object
@param string[][] $data The data for this object in an associative array
Required method to import an array into this data object @param string [] [] $data The data for this object in an associative array
public function fromArray($data) {
        unset($this->id);
        if (isset($data["id"]))
            $this->id = $data["id"];
        else
            $this->id = null;
        unset($this->label);
        if (isset($data["label"]))
            $this->label = $data["label"];
        else
            $this->label = null;
        unset($this->description);
        if (isset($data["description"]))
            $this->description = $data["description"];
        else
            $this->description = null;
    }
public function fromArray ( $ data ) { unset ( $ this -> id ) ; if ( isset ( $ data [ " id " ] ) ) $ this -> id = $ data [ " id " ] ; else $ this -> id = null ; unset ( $ this -> label ) ; if ( isset ( $ data [ " label " ] ) ) $ this -> label = $ data [ " label " ] ; else $ this -> label = null ; unset ( $ this -> description ) ; if ( isset ( $ data [ " description " ] ) ) $ this -> description = $ data [ " description " ] ; else $ this -> description = null ; }
Required method to import an array into this data object
 @param string[][] $data The data for this object in an associative array
Required method to import an array into this data object @param string [] [] $data The data for this object in an associative array
// Note: inheriting classes should set the maxDateCount appropriately // based on the definition of that class.