protected function getCompletionConditions($completed) { return ' ps.date_published IS ' . ($completed ? 'NOT ' : '') . 'NULL '; }