-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #120 from FriendsOfREDAXO/cb-18
API getuned, neue Methoden findBy/queryBy
- Loading branch information
Showing
7 changed files
with
312 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Changelog | ||
|
||
## xx-xx-2024 x.x.x (**Breacking Changes ⚠**) | ||
|
||
> Work in Progress !!! | ||
Version x.x.x ist an vielen Ständen überarbeitet, was auch die Schnittstellen der | ||
Klassen/Methoden betrifft. Beim Update von Versionen vor x.x.x müssen ggf. Anpassungen | ||
im eigenen Code vorgenommen werden: | ||
|
||
- Klasse `Author`: | ||
- alter Klassenname: `neues_author` => neu: `FriendsOfRedaxo\Neues\Author` | ||
- `$author->getName`: liefert immer einen ggf. leeren `string`; `null` als Rückgabe ist entfernt | ||
- `$author->getNickName`: liefert immer einen ggf. leeren `string`; `null` als Rückgabe ist entfernt | ||
- `$author->geText`: liefert immer einen ggf. leeren `string`; `null` als Rückgabe ist entfernt | ||
- `$author->getBeUserId`: liefert immer eine Id vom Typ`int` (0=unbekannt); `null` als Rückgabe ist entfernt | ||
- Klasse `Category`: | ||
- alter Klassenname: `neues_category` => neu: `FriendsOfRedaxo\Neues\Category` | ||
- `$cat->getName`: liefert immer einen ggf. leeren `string`; `null` als Rückgabe ist entfernt | ||
- Klasse `Entry`: | ||
- alter Klassenname: `neues_entry` => neu: `FriendsOfRedaxo\Neues\Entry` | ||
- `$post->getImages`: API angepasst auf `array`, da ohnehin stets ein ggf. leeres Array geliefert wurde, aber nie `null` | ||
- `$post->setImages`: `null` für "leer also löschen" wird nicht mehr akzeptiert; statt dessen `[]`benutzen oder den Parameter weglassen. | ||
- `$post->getExternalUrl`: liefert immer einen ggf. leeren `string`; `null` als Rückgabe ist entfernt. | ||
- `$post->getStatus`: liefert nun richtigerweise `int` statt `string` | ||
- `Entry::findOnline`: `null` als "suche alle"-Kennung durch `0`ersetzt. | ||
- `Entry::findByCategory`: `null` als "suche alle"-Kennung durch `0`ersetzt. | ||
- `Entry::findByCategoryIds`: `null` als "suche alle"-Kennung durch `0`ersetzt. | ||
- neu: `$post->getCanonicalUrl` | ||
- neu: `$post->setCanonicalUrl` | ||
- neu: `Entry::queryBy` | ||
- neu: `Entry::findBy` | ||
- Klasse `EntryLang` | ||
- alter Klassenname: `neues_entry_lang` => neu: `FriendsOfRedaxo\Neues\EntryLang` | ||
- `$cat->getCode`: liefert immer einen ggf. leeren `string`; `null` als Rückgabe ist entfernt | ||
- `$cat->geName`: liefert immer einen ggf. leeren `string`; `null` als Rückgabe ist entfernt | ||
- Klasse `Entry`: | ||
- alter Klassenname: `neues` => neu: `FriendsOfRedaxo\Neues\Neues` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.