We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
To achieve this goal, you will configure a database connection, create an Active Record class, define an action, and create a view.
Aby to osiągnąć, musisz skonfigurować swoje połączenie z bazą danych, utworzyć klasę Active Record, zdefiniować akcję oraz utworzyć widok.
The array values are the columns of the primary data (represented by the Active Record class that you are declaring relations), while the array keys are the columns of the related data.
Wartości tablicy są kolumnami głównych danych (reprezentowanymi przez klasę Active Record, w której deklaruje się relacje), a klucze tablicy są kolumnami danych relacyjnych.
The model can be either based upon an Active Record class, representing some data from the database, or a generic Model class (extending from yii\base\Model) to capture arbitrary input, for example a login form.
Model może być bazowany na klasie Active Record, reprezentując dane z bazy danych, lub może być też bazowany na klasie generycznej Model, aby przechwytywać dowolne dane wejściowe, np. formularz logowania.
For example, assume Customer is an Active Record class which is associated with the customer table and name is a column of the customer table.
Dla przykładu, załóżmy, że Customer jest klasą Active Record, powiązaną z tabelą customer i name jest kolumną w tabeli customer.
In the following example, we declare an Active Record class named Customer for the customer database table.
W poniższym przykładzie deklarujemy klasę Active Record nazwaną Customer dla tabeli customer w bazie danych.
To use Gii to generate an Active Record class, select the "Model Generator" (by clicking the link on the Gii index page).
Aby użyć Gii do wygenerowania klasy Active Record, wybierz "Model Generator" z odnośników na stronie głównej Gii.
To get started, declare an Active Record class by extending yii\db\ActiveRecord.
Na początek zadeklaruj klasę typu Active Record rozszerzając ActiveRecord. Deklarowanie nazwy tabeli
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.