public function getThanks() { $model = new UserMeta(); return $model->isUserAction(self::TYPE, 'thanks', $this->id); }
public function getLike() { $model = new UserMeta(); return $model->isUserAction(self::TYPE, 'like', $this->id); }