/** * List annotation objects by filter and pager * * @action list * @param KalturaAnnotationFilter $filter * @param KalturaFilterPager $pager * @return KalturaAnnotationListResponse */ function listAction(KalturaCuePointFilter $filter = null, KalturaFilterPager $pager = null) { if (!$filter) { $filter = new KalturaAnnotationFilter(); } $filter->cuePointTypeEqual = AnnotationPlugin::getApiValue(AnnotationCuePointType::ANNOTATION); $list = parent::listAction($filter, $pager); $ret = new KalturaAnnotationListResponse(); $ret->objects = $list->objects; $ret->totalCount = $list->totalCount; return $ret; }