private function isNeedNofollow() { if ($this->album && $this->album['status'] == 1) { return false; } if (empty($this->hash)) { $album_photos_model = new photosAlbumPhotosModel(); return (bool) $album_photos_model->countByField('photo_id', $this->photo['id']); } return true; }