Vertaling van "widget class" in Pools
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.
When rendering the input element, an instance of the specified widget class will be created and rendered.
Podczas wyświetlania elementów wejściowych instancja podanej klasy widżetu zostanie utworzona i wygenerowana.
Besides these built-in types, the type option can also take a widget class name or the path alias to it.
Poza tymi wbudowanymi typami, opcja typ może również zawierać nazwę klasy widżetu lub też alias ścieżki do niej.
The new widget class will be generated under the protected/components directory.
Nowa klasa widżetu zostanie wygenerowana w katalogu protected/components.
In this sub-section, we show how to create a new generator that can generate a new widget class.
W tej części pokażemy jak utworzyć nowy generator, który może wygenerować nową klasę widżetu.
By default, widget view files are located under the views subdirectory of the directory containing the widget class file.
Domyślnie, pliki widoku widżetu są umieszczone w podkatalogu views katalogu zawierającego klasę widżetu.
templates/default/widget.php: the default code template for generating a widget class file.
Klasa ta zawiera główną logikę generowania default/widget.php: domyślny kod szablonu do generowania pliku klasy widżetu.
To theme the view xyz for a widget whose class name is Foo, we should first create a folder named Foo (same as the widget class name) under the currently active theme's view folder.
Aby nadać motyw dla widoku xyz dla widżetu, którego nazwa klasy to Foo, powinniśmy najpierw utworzyć katalog o nazwie Foo (taki sam jak nazwa klasy widżetu) w folderze motywu aktualnie aktywnego.
In the widget class, in order to render a widget view, use $this->render('ViewName'), which is similar to what we do in a controller.
W klasie widżetu, w celu wygenerowania widoku widżetu użyj $this->render('ViewName'), co jest bardzo podobne do tego co robiliśmy w kontrolerze.
In our example, we only need to create one CCodeFile object that represents the widget class file being generated.
W naszym przykładzie musimy jedynie utworzyć obiekt CCodeFile, który reprezentuje plik klasy widżetu, który zostanie wygenerowany.
For example, when you write a new controller, you extend Yii by inheriting its CController class; when you write a new widget, you are extending CWidget or an existing widget class.
Na przykład, gdy piszesz nowy kontroler, rozszerzasz Yii poprzez dziedziczenie po klasie jego CController; gdy piszesz nowy widżet, dziedziczysz po CWidget lub istniejącej klasie widżetu.
The WidgetCode.php file contains the WidgetCode model class that has the main logic for generating a widget class based on the user input.
Plik WidgetCode.php zawiera model klasy WidgetCode, który zawiera główną logikę do generowania klasy widżetu opartej na danych wprowadzonych przez użytkownika.
A skin belongs to a widget class, and a widget class can have multiple skins identified by their names.
Skórka należy do klasy widżetu, a klasa widżetu może posiadać wiele skórek identyfikowanych przez ich nazwę.
Skins belonging to the same widget class are stored in a single PHP script file whose name is the widget class name.
Skórki należące do tej samej klasy widżetu są przechowywane w pojedynczym skrypcie pliku, którego nazwa jest taka jak nazwa klasy widżetu.