Version 5.0.13
This commit is contained in:
1 parent
b89858b2ff
commit
5efe744c5f
1407 files changed
+69690
-30177
No files matched your search
@@ -36,4 +36,17 @@ abstract class AnnouncementsAbstract
|
||||
* @return FormAbstract Form element
|
||||
*/
|
||||
abstract public function getSettingField( ?Announcement $announcement ): FormAbstract;
|
||||
|
||||
/**
|
||||
* Parse the stored IDs into something that makes sense for the Announcement
|
||||
* Default is a comma-separated string, but some locations may override
|
||||
*
|
||||
* @see Announcement::loadAllByLocation()
|
||||
* @param string $ids
|
||||
* @return array
|
||||
*/
|
||||
public function getAnnouncementIds( string $ids ) : array
|
||||
{
|
||||
return explode( ",", $ids );
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user