lib/DataSift/Pylon.php
private function load($data)
    {
        if (empty($data)) {
            throw new DataSift_Exception_InvalidData('No data found');
        }

        //Assign the instance variables
        foreach ($data as $key => $value) {
            $this->{'_' . $key} = $value;
        }
    }
private function load($data)
    {
        if (empty($data)) {
            throw new DataSift_Exception_InvalidData('No data found');
        }

        //Assign the instance variables
        foreach ($data as $key => $value) {
            $this->{'_' . $key} = $value;
        }
    }
private function load ( $ data ) { if ( empty ( $ data ) ) { throw new DataSift_Exception_InvalidData ( 'No data found' ) ; } //Assign the instance variables foreach ( $ data as $ key => $ value ) { $ this -> { '_' . $ key } = $ value ; } }
Loads an pylon object from the get data

@param array $data An array containing the subscription data.

@throws DataSift_Exception_InvalidData
Loads an pylon object from the get data