lolautruche/ezdisqus — Issue #28: Datatype should be integrated with Disqus API
Author: lolautruche
Created: 2012-02-14 11:30:58+00:00
State: open
Labels: API

At the moment, the DisqusComments datatype only checks and sets the open/closed status through the **data_int** field in the database. This should be done through [**Disqus API**](http://disqus.com/api/docs/) to be fully consistent.

## Features needed

* Open/closed status set via [Thread API](http://disqus.com/api/docs/threads/).
* `DisqusCommentsType::fetchObjectAttributeHTTPInput()` to set the right status on the content attribute depending on what the user set in the content edit interface
* `DisqusCommentsType::initializeObjectAttribute()` to initialize the attribute depending on what is default in the content class
* `DisqusCommentsType::objectAttributeContent()` to return the right status
* Check if a thread has content or not
* `DisqusCommentsType::hasObjectAttributeContent()`