Posts by Morse • 95 points
6 posts
-
1
votes1
answer104
viewsQ: Dual dropdown dependent on Yii2
How can I resolve this implementation below, so it performs the 2 dependency routines associated with the same onChange event: Example: <?php echo $form->field($model, 'id_data_type', […
-
0
votes1
answer207
viewsQ: Yii2 textinput() and httml::submitButton in the same row
I need an example in Yii2 that allows me to put some submitButton and textinput() in the same line, as the example below: part of my code that mounts the buttons : <?=…
-
0
votes1
answer413
viewsA: Yii2 dropdownlist
I found the solution, in the above example just perform the following modification: $id_usuario = Yii::$app->user->identity->getId();…
-
1
votes1
answer413
viewsQ: Yii2 dropdownlist
I need an example, dropdownlist, where I can dropdown between two sqls, in this case A and B. Below I present a pseudocode. Introduction to the problem: Table sql A id_A id_usuario nome_A…
-
1
votes0
answers174
viewsQ: "error: use of Deleted Function"
I’m having trouble compiling the example below, linux platform for esp8266, I need an example of how to return an object through a class function to another class. As an example: I need access to…
-
6
votes1
answer356
viewsQ: Return modified object
I have the following problem, as the didactic example below: #include "b.h" #include "c.h" class A { public: int start(); private: B b; C c; int x; } a.cpp int A::start() { c = b.copy(); x = c.d;…