public function setFollow($userIds) { $userIds = $userIds === NULL ? array() : $userIds; sort($userIds); // Non-optimal but necessary if ($this->followIds != $userIds) { $this->filterChanged = TRUE; } $this->followIds = $userIds; }