I have the following line of code that does a simple query
if ($this->fulfilled)
$criteria->addCondition('fulfilled ' . (($this->fulfilled == 1) ? "IS NOT NULL" : "IS NULL"));
How can modify this to do a query that contains an OR command to basically run this query using the framework rather than raw SQL
if ($this->fulfilled)
AND (fulfilled is null OR fulfilled = 0)