lib/DataSift/Definition.php
public function getCreatedAt()
    {
        if ($this->_csdl === false) {
            throw new DataSift_Exception_InvalidData('Created at date not available');
        }
        if ($this->_created_at === false) {
            // Catch any compilation errors so they don't pass up to the caller
            try {
                $this->validate();
            } catch (DataSift_Exception_CompileFailed $e) {
            }
        }
        return $this->_created_at;
    }
public function getCreatedAt()
    {
        if ($this->_csdl === false) {
            throw new DataSift_Exception_InvalidData('Created at date not available');
        }
        if ($this->_created_at === false) {
            // Catch any compilation errors so they don't pass up to the caller
            try {
                $this->validate();
            } catch (DataSift_Exception_CompileFailed $e) {
            }
        }
        return $this->_created_at;
    }
public function getCreatedAt ( ) { if ( $ this -> _csdl === false ) { throw new DataSift_Exception_InvalidData ( 'Created at date not available' ) ; } if ( $ this -> _created_at === false ) { // Catch any compilation errors so they don't pass up to the caller try { $ this -> validate ( ) ; } catch ( DataSift_Exception_CompileFailed $ e ) { } } return $ this -> _created_at ; }
Returns the date when the stream was first created. If the created at
date has not yet been obtained it validates the definition first.

@return int The date as a unix timestamp.
@throws DataSift_Exception_APIError
@throws DataSift_Exception_RateLimitExceeded
@throws DataSift_Exception_InvalidData
Returns the date when the stream was first created . If the created at date has not yet been obtained it validates the definition first .