Skip to content

Commit

Permalink
modified links to db
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Dec 20, 2024
1 parent 50b5d06 commit 933b2a1
Show file tree
Hide file tree
Showing 48 changed files with 48 additions and 48 deletions.
2 changes: 1 addition & 1 deletion best-practices/bg/pagination.texy
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class HomePresenter extends Nette\Application\UI\Presenter
```


Ето как добавихме страниране с помощта на Paginator. Ако използваме [Nette Database Core |database:core] като слой на базата данни вместо [Nette Database Explorer |database:explorer], можем да реализираме странициране дори без Paginator. Класът `Nette\Database\Table\Selection` съдържа метод [page |api:Nette\Database\Table\Selection::_ page] с логика за страниране, взета от Paginator.
Ето как добавихме страниране с помощта на Paginator. Ако използваме [Nette Database Core |database:direct-sql] като слой на базата данни вместо [Nette Database Explorer |database:explorer], можем да реализираме странициране дори без Paginator. Класът `Nette\Database\Table\Selection` съдържа метод [page |api:Nette\Database\Table\Selection::_ page] с логика за страниране, взета от Paginator.

Хранилището ще изглежда по следния начин:

Expand Down
2 changes: 1 addition & 1 deletion best-practices/cs/pagination.texy
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class HomePresenter extends Nette\Application\UI\Presenter
```


Takto jsme doplnili stránku o možnost stránkování pomocí Paginatoru. V případě, kdy namísto [Nette Database Core |database:core] jako databázovou vrstvu použijeme [Nette Database Explorer |database:explorer], jsme schopni implementovat stránkování i bez použití Paginatoru. Třída `Nette\Database\Table\Selection` totiž obsahuje metodu [page |api:Nette\Database\Table\Selection::_page] s logikou stránkování převzatou z Paginatoru.
Takto jsme doplnili stránku o možnost stránkování pomocí Paginatoru. V případě, kdy namísto [Nette Database Core |database:direct-sql] jako databázovou vrstvu použijeme [Nette Database Explorer |database:explorer], jsme schopni implementovat stránkování i bez použití Paginatoru. Třída `Nette\Database\Table\Selection` totiž obsahuje metodu [page |api:Nette\Database\Table\Selection::_page] s logikou stránkování převzatou z Paginatoru.

Repozitář bude při tomto způsobu implementace vypadat takto:

Expand Down
2 changes: 1 addition & 1 deletion best-practices/de/pagination.texy
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ Die Vorlage iteriert bereits über Artikel auf einer Seite, fügen Sie einfach L
```


So haben wir die Paginierung mit Paginator hinzugefügt. Wenn [Nette Database Explorer |database:explorer] anstelle von [Nette Database Core |database:core] als Datenbankschicht verwendet wird, können wir die Paginierung auch ohne Paginator implementieren. Die Klasse `Nette\Database\Table\Selection` enthält die [Page-Methode |api:Nette\Database\Table\Selection::_ page] mit der Paginierungslogik aus dem Paginator.
So haben wir die Paginierung mit Paginator hinzugefügt. Wenn [Nette Database Explorer |database:explorer] anstelle von [Nette Database Core |database:direct-sql] als Datenbankschicht verwendet wird, können wir die Paginierung auch ohne Paginator implementieren. Die Klasse `Nette\Database\Table\Selection` enthält die [Page-Methode |api:Nette\Database\Table\Selection::_ page] mit der Paginierungslogik aus dem Paginator.

Das Repository sieht dann wie folgt aus:

Expand Down
2 changes: 1 addition & 1 deletion best-practices/el/pagination.texy
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class HomePresenter extends Nette\Application\UI\Presenter
```


Αυτό είναι το πώς έχουμε προσθέσει σελιδοποίηση χρησιμοποιώντας Paginator. Εάν χρησιμοποιείται ο [Nette Database Explorer |database:explorer] αντί του [Nette Database |database:core] Core ως επίπεδο βάσης δεδομένων, είμαστε σε θέση να υλοποιήσουμε τη σελιδοποίηση ακόμη και χωρίς Paginator. Η κλάση `Nette\Database\Table\Selection` περιέχει τη μέθοδο [page |api:Nette\Database\Table\Selection::_ page] με λογική σελιδοποίησης που λαμβάνεται από το Paginator.
Αυτό είναι το πώς έχουμε προσθέσει σελιδοποίηση χρησιμοποιώντας Paginator. Εάν χρησιμοποιείται ο [Nette Database Explorer |database:explorer] αντί του [Nette Database |database:direct-sql] Core ως επίπεδο βάσης δεδομένων, είμαστε σε θέση να υλοποιήσουμε τη σελιδοποίηση ακόμη και χωρίς Paginator. Η κλάση `Nette\Database\Table\Selection` περιέχει τη μέθοδο [page |api:Nette\Database\Table\Selection::_ page] με λογική σελιδοποίησης που λαμβάνεται από το Paginator.

Το αποθετήριο θα έχει την εξής μορφή:

Expand Down
2 changes: 1 addition & 1 deletion best-practices/en/pagination.texy
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ The template already iterates over articles in one page, just add paging links:
```


This is how we've added pagination using Paginator. If [Nette Database Explorer |database:explorer] is used instead of [Nette Database Core |database:core] as a database layer, we are able to implement paging even without Paginator. The `Nette\Database\Table\Selection` class contains the [page |api:Nette\Database\Table\Selection::_ page] method with pagination logic taken from the Paginator.
This is how we've added pagination using Paginator. If [Nette Database Explorer |database:explorer] is used instead of [Nette Database Core |database:direct-sql] as a database layer, we are able to implement paging even without Paginator. The `Nette\Database\Table\Selection` class contains the [page |api:Nette\Database\Table\Selection::_ page] method with pagination logic taken from the Paginator.

The repository will look like this:

Expand Down
2 changes: 1 addition & 1 deletion best-practices/es/pagination.texy
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ La plantilla ya itera sobre los artículos en una página, sólo hay que añadir
```


Así es como hemos añadido la paginación usando Paginator. Si se utiliza [Nette Database Explorer |database:explorer] en lugar de [Nette Database Core |database:core] como capa de base de datos, podemos implementar la paginación incluso sin Paginator. La clase `Nette\Database\Table\Selection` contiene el método [page |api:Nette\Database\Table\Selection::_ page] con la lógica de paginación tomada del Paginator.
Así es como hemos añadido la paginación usando Paginator. Si se utiliza [Nette Database Explorer |database:explorer] en lugar de [Nette Database Core |database:direct-sql] como capa de base de datos, podemos implementar la paginación incluso sin Paginator. La clase `Nette\Database\Table\Selection` contiene el método [page |api:Nette\Database\Table\Selection::_ page] con la lógica de paginación tomada del Paginator.

El repositorio tendrá este aspecto:

Expand Down
2 changes: 1 addition & 1 deletion best-practices/fr/pagination.texy
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ Le modèle fait déjà défiler les articles sur une page, il suffit d'ajouter d
```


C'est ainsi que nous avons ajouté la pagination en utilisant Paginator. Si [Nette Database Explorer |database:explorer] est utilisé à la place de [Nette Database Core |database:core] comme couche de base de données, nous sommes capables d'implémenter la pagination même sans Paginator. La classe `Nette\Database\Table\Selection` contient la méthode [page |api:Nette\Database\Table\Selection::_ page] avec la logique de pagination prise dans le Paginator.
C'est ainsi que nous avons ajouté la pagination en utilisant Paginator. Si [Nette Database Explorer |database:explorer] est utilisé à la place de [Nette Database Core |database:direct-sql] comme couche de base de données, nous sommes capables d'implémenter la pagination même sans Paginator. La classe `Nette\Database\Table\Selection` contient la méthode [page |api:Nette\Database\Table\Selection::_ page] avec la logique de pagination prise dans le Paginator.

Le référentiel ressemblera à ceci :

Expand Down
2 changes: 1 addition & 1 deletion best-practices/hu/pagination.texy
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ A sablon már egy oldalon belül iterálja a cikkeket, csak a lapozási linkeket
```


Így adtunk hozzá oldalszámozást a Paginator segítségével. Ha a [Nette Database |database:explorer] [Core |database:core] [helyett a Nette Database Explorer-t |database:explorer] használjuk adatbázis-rétegként, akkor Paginator nélkül is képesek vagyunk a lapozás megvalósítására. A `Nette\Database\Table\Selection` osztály tartalmazza a [Paginatorból |api:Nette\Database\Table\Selection::_ page] átvett paginálási logikával rendelkező [page |api:Nette\Database\Table\Selection::_ page] metódust.
Így adtunk hozzá oldalszámozást a Paginator segítségével. Ha a [Nette Database |database:explorer] [Core |database:direct-sql] [helyett a Nette Database Explorer-t |database:explorer] használjuk adatbázis-rétegként, akkor Paginator nélkül is képesek vagyunk a lapozás megvalósítására. A `Nette\Database\Table\Selection` osztály tartalmazza a [Paginatorból |api:Nette\Database\Table\Selection::_ page] átvett paginálási logikával rendelkező [page |api:Nette\Database\Table\Selection::_ page] metódust.

A tároló így fog kinézni:

Expand Down
2 changes: 1 addition & 1 deletion best-practices/it/pagination.texy
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ Il template itera già gli articoli in una pagina, basta aggiungere i link di pa
```


Ecco come abbiamo aggiunto la paginazione utilizzando Paginator. Se si utilizza [Nette Database Explorer |database:explorer] al posto di [Nette Database Core |database:core] come livello di database, siamo in grado di implementare la paginazione anche senza Paginator. La classe `Nette\Database\Table\Selection` contiene il metodo [page |api:Nette\Database\Table\Selection::_ page] con la logica di paginazione presa da Paginator.
Ecco come abbiamo aggiunto la paginazione utilizzando Paginator. Se si utilizza [Nette Database Explorer |database:explorer] al posto di [Nette Database Core |database:direct-sql] come livello di database, siamo in grado di implementare la paginazione anche senza Paginator. La classe `Nette\Database\Table\Selection` contiene il metodo [page |api:Nette\Database\Table\Selection::_ page] con la logica di paginazione presa da Paginator.

Il repository avrà questo aspetto:

Expand Down
2 changes: 1 addition & 1 deletion best-practices/pl/pagination.texy
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ Szablon już iteruje po tylko artykułach jednej strony, musimy tylko dodać lin
```


W ten sposób dodaliśmy do strony paginację Paginator. W przypadku, gdy jako warstwy bazy danych użyjemy [Nette |database:core] Database [Explorer |database:explorer] zamiast [Nette Database Core |database:core], jesteśmy w stanie zaimplementować paginację bez użycia Paginatora. Klasa `Nette\Database\Table\Selection` zawiera metodę [page |api:Nette\Database\Table\Selection::_page] z logiką paginacji zaczerpniętą z Paginatora.
W ten sposób dodaliśmy do strony paginację Paginator. W przypadku, gdy jako warstwy bazy danych użyjemy [Nette |database:direct-sql] Database [Explorer |database:explorer] zamiast [Nette Database Core |database:direct-sql], jesteśmy w stanie zaimplementować paginację bez użycia Paginatora. Klasa `Nette\Database\Table\Selection` zawiera metodę [page |api:Nette\Database\Table\Selection::_page] z logiką paginacji zaczerpniętą z Paginatora.

Repozytorium będzie wyglądać tak z tą implementacją:

Expand Down
2 changes: 1 addition & 1 deletion best-practices/pt/pagination.texy
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ O modelo já itera sobre artigos em uma página, basta adicionar links de pagina
```


Foi assim que adicionamos a paginação usando o Paginador. Se for usado o [Nette Database Explorer |database:explorer] em vez do [Nette Database Core |database:core] como camada de banco de dados, podemos implementar paginação mesmo sem o Paginator. A classe `Nette\Database\Table\Selection` contém o método de [paginação |api:Nette\Database\Table\Selection::_ page] com lógica de paginação extraída do Paginator.
Foi assim que adicionamos a paginação usando o Paginador. Se for usado o [Nette Database Explorer |database:explorer] em vez do [Nette Database Core |database:direct-sql] como camada de banco de dados, podemos implementar paginação mesmo sem o Paginator. A classe `Nette\Database\Table\Selection` contém o método de [paginação |api:Nette\Database\Table\Selection::_ page] com lógica de paginação extraída do Paginator.

O repositório terá este aspecto:

Expand Down
2 changes: 1 addition & 1 deletion best-practices/ro/pagination.texy
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class HomePresenter extends Nette\Application\UI\Presenter
```


Acesta este modul în care am adăugat paginarea folosind Paginator. Dacă [Nette |database:core] [Database Explorer |database:explorer] este utilizat în locul [Nette Database Core |database:core] ca strat de bază de date, putem implementa paginarea chiar și fără Paginator. Clasa `Nette\Database\Table\Selection` conține metoda [page |api:Nette\Database\Table\Selection::_ page] cu logica de paginare preluată din Paginator.
Acesta este modul în care am adăugat paginarea folosind Paginator. Dacă [Nette |database:direct-sql] [Database Explorer |database:explorer] este utilizat în locul [Nette Database Core |database:direct-sql] ca strat de bază de date, putem implementa paginarea chiar și fără Paginator. Clasa `Nette\Database\Table\Selection` conține metoda [page |api:Nette\Database\Table\Selection::_ page] cu logica de paginare preluată din Paginator.

Depozitul va arăta astfel:

Expand Down
2 changes: 1 addition & 1 deletion best-practices/ru/pagination.texy
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class HomePresenter extends Nette\Application\UI\Presenter
```


Вот как мы добавили пагинацию с помощью Paginator. Если вместо [Nette Database Explorer |database:explorer] в качестве слоя базы данных используется [Nette Database Core |database:core], мы можем реализовать подкачку даже без Paginator. Класс `Nette\Database\Table\Selection` содержит метод [page |api:Nette\Database\Table\Selection::_ page] с логикой пагинации, взятой из Paginator.
Вот как мы добавили пагинацию с помощью Paginator. Если вместо [Nette Database Explorer |database:explorer] в качестве слоя базы данных используется [Nette Database Core |database:direct-sql], мы можем реализовать подкачку даже без Paginator. Класс `Nette\Database\Table\Selection` содержит метод [page |api:Nette\Database\Table\Selection::_ page] с логикой пагинации, взятой из Paginator.

Репозиторий будет выглядеть следующим образом:

Expand Down
2 changes: 1 addition & 1 deletion best-practices/sl/pagination.texy
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ Predloga že iterira po člankih na eni strani, dodajte le povezave za paging:
```


To je način, kako smo s Paginatorjem dodali paginacijo. Če namesto [Nette |database:explorer] [Database Core |database:core] kot plast podatkovne baze uporabimo [Nette Database Explorer |database:explorer], lahko izvedemo paging tudi brez Paginatorja. Razred `Nette\Database\Table\Selection` vsebuje metodo [page |api:Nette\Database\Table\Selection::_ page] z logiko paginacije, ki je prevzeta iz Paginatorja.
To je način, kako smo s Paginatorjem dodali paginacijo. Če namesto [Nette |database:explorer] [Database Core |database:direct-sql] kot plast podatkovne baze uporabimo [Nette Database Explorer |database:explorer], lahko izvedemo paging tudi brez Paginatorja. Razred `Nette\Database\Table\Selection` vsebuje metodo [page |api:Nette\Database\Table\Selection::_ page] z logiko paginacije, ki je prevzeta iz Paginatorja.

Skladišče bo videti takole:

Expand Down
2 changes: 1 addition & 1 deletion best-practices/tr/pagination.texy
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class HomePresenter extends Nette\Application\UI\Presenter
```


Paginator kullanarak sayfalamayı bu şekilde ekledik. Veritabanı katmanı olarak Nette Database [Core |database:core] yerine Nette [Database Explorer |database:explorer] kullanılırsa, Paginator olmadan da sayfalama uygulayabiliriz. `Nette\Database\Table\Selection` sınıfı, Paginator'dan alınan sayfalama mantığı ile [sayfa |api:Nette\Database\Table\Selection::_ page] yöntemini içerir.
Paginator kullanarak sayfalamayı bu şekilde ekledik. Veritabanı katmanı olarak Nette Database [Core |database:direct-sql] yerine Nette [Database Explorer |database:explorer] kullanılırsa, Paginator olmadan da sayfalama uygulayabiliriz. `Nette\Database\Table\Selection` sınıfı, Paginator'dan alınan sayfalama mantığı ile [sayfa |api:Nette\Database\Table\Selection::_ page] yöntemini içerir.

Depo şu şekilde görünecektir:

Expand Down
2 changes: 1 addition & 1 deletion best-practices/uk/pagination.texy
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class HomePresenter extends Nette\Application\UI\Presenter
```


Ось як ми додали пагінацію за допомогою Paginator. Якщо замість [Nette Database Explorer |database:explorer] як шар бази даних використовується [Nette Database Core |database:core], ми можемо реалізувати підкачку навіть без Paginator. Клас `Nette\Database\Table\Selection` містить метод [page |api:Nette\Database\Table\Selection::_ page] з логікою пагінації, взятою з Paginator.
Ось як ми додали пагінацію за допомогою Paginator. Якщо замість [Nette Database Explorer |database:explorer] як шар бази даних використовується [Nette Database Core |database:direct-sql], ми можемо реалізувати підкачку навіть без Paginator. Клас `Nette\Database\Table\Selection` містить метод [page |api:Nette\Database\Table\Selection::_ page] з логікою пагінації, взятою з Paginator.

Репозиторій матиме такий вигляд:

Expand Down
2 changes: 1 addition & 1 deletion nette/bg/@home.texy
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
- [Latte: Шаблони |latte:]
- [Tracy: Инструмент за отстраняване на грешки |tracy:]
- [Форми |forms:]
- [База данни |database:core]
- [База данни |database:guide]
- [Удостоверяване на потребителя |security:authentication]
- [Контрол на достъпа |security:authorization]
- [Сесии |http:Sessions]
Expand Down
2 changes: 1 addition & 1 deletion nette/bg/@menu-topics.texy
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
- [Изпълнение на зависимостта |dependency-injection:]
- [Комунални услуги |utils:]
- [Форми |forms:]
- [База данни |database:core]
- [База данни |database:guide]
- [Удостоверяване на потребителя |security:authentication]
- [Контрол на достъпа |security:authorization]
- [Сесии |http:Sessions]
Expand Down
2 changes: 1 addition & 1 deletion nette/cs/@home.texy
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Hlavní témata
- [Latte: šablony |latte:]
- [Tracy: ladění kódu |tracy:]
- [Formuláře |forms:]
- [Databáze |database:core]
- [Databáze |database:guide]
- [Přihlašování uživatelů |security:authentication]
- [Ověřování oprávnění |security:authorization]
- [http:Sessions]
Expand Down
2 changes: 1 addition & 1 deletion nette/cs/@menu-topics.texy
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Hlavní témata
- [Dependency Injection|dependency-injection:]
- [Utilities |utils:]
- [Formuláře |forms:]
- [Databáze |database:core]
- [Databáze |database:guide]
- [Přihlašování uživatelů |security:authentication]
- [Ověřování oprávnění |security:authorization]
- [http:Sessions]
Expand Down
2 changes: 1 addition & 1 deletion nette/de/@home.texy
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Hauptthemen
- [Latte: Schablonen |latte:]
- [Tracy: Debugging-Werkzeug |tracy:]
- [Formulare |forms:]
- [Datenbank |database:core]
- [Datenbank |database:guide]
- [Authentifizierung von Benutzern |security:authentication]
- [Zugriffskontrolle |security:authorization]
- [Sessionen |http:Sessions]
Expand Down
2 changes: 1 addition & 1 deletion nette/de/@menu-topics.texy
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Hauptthemen
- [Injektion von Abhängigkeiten |dependency-injection:]
- [Dienstprogramme |utils:]
- [Formulare |forms:]
- [Datenbank |database:core]
- [Datenbank |database:guide]
- [Authentifizierung von Benutzern |security:authentication]
- [Zugriffskontrolle |security:authorization]
- [Sessionen |http:Sessions]
Expand Down
2 changes: 1 addition & 1 deletion nette/el/@home.texy
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Nette Τεκμηρίωση
- [Latte: Προτύπων |latte:]
- [Tracy: Tracy: Εργαλείο εντοπισμού σφαλμάτων |tracy:]
- [Φόρμες |forms:]
- [Βάση δεδομένων |database:core]
- [Βάση δεδομένων |database:guide]
- [Αυθεντικοποίηση χρηστών |security:authentication]
- [Έλεγχος πρόσβασης |security:authorization]
- [Συνεδρίες |http:Sessions]
Expand Down
Loading

0 comments on commit 933b2a1

Please sign in to comment.