public function setIsActivated($isActivated)
    {
        $isActivated = (int) $isActivated;

        if ($this->exists() && $this->isActivated !== $isActivated) {
            $this->updated['isActivated'] = true;
        }

        $this->isActivated = $isActivated;

        return $this;
    }
public function setIsActivated($isActivated)
    {
        $isActivated = (int) $isActivated;

        if ($this->exists() && $this->isActivated !== $isActivated) {
            $this->updated['isActivated'] = true;
        }

        $this->isActivated = $isActivated;

        return $this;
    }
public function setIsActivated ( $ isActivated ) { $ isActivated = ( int ) $ isActivated ; if ( $ this -> exists ( ) && $ this -> isActivated !== $ isActivated ) { $ this -> updated [ 'isActivated' ] = true ; } $ this -> isActivated = $ isActivated ; return $ this ; }
Set value for field "user_is_activated"

@param  int $isActivated
@return $this
Set value for field user_is_activated