TypeTask/models/ObjectTask.php
public function setCompletedStatus($value)
    {
        if (empty($value)) {
            $this->completed = null;
        } elseif (empty($this->completed)) {
            $this->completed = DateHelper::date($this->dbDateFormat . " " . $this->dbTimeFormat, time());
        }
    }
public function setCompletedStatus($value)
    {
        if (empty($value)) {
            $this->completed = null;
        } elseif (empty($this->completed)) {
            $this->completed = DateHelper::date($this->dbDateFormat . " " . $this->dbTimeFormat, time());
        }
    }
public function setCompletedStatus ( $ value ) { if ( empty ( $ value ) ) { $ this -> completed = null ; } elseif ( empty ( $ this -> completed ) ) { $ this -> completed = DateHelper :: date ( $ this -> dbDateFormat . " " . $ this -> dbTimeFormat , time ( ) ) ; } }
Set completed status.

@param [[@doctodo param_type:value]] $value [[@doctodo param_description:value]]
Set completed status .