Posts by Gabriel Victor • 65 points
4 posts
-
1
votes1
answer1214
viewsA: Why use getters and setters in classes?
Basically this is one of the concepts of object orientation, encapsulation, in which you can define your variable as private, and create the getter and Setter to be able to access it from another…
-
0
votes1
answer94
viewsA: How do I have my app listed by the Whatsapp insert button
Try this... <intent-filter> <action android:name="android.intent.action.GET_CONTENT" /> <category android:name="android.intent.category.OPENABLE" /> <category…
-
5
votes3
answers67
viewsQ: How to define the value of a variable from a function?
I want something like, a function that will be passed a variable as a parameter and a value that will be applied to it, can you do that? 'Cause the code below didn’t work: function…
-
0
votes2
answers2897
viewsQ: Get relative path to the directory where the index.php file is located
I have to navigate inside my site with a menu, and I created a file with all the code of the menu, and in the files q I wanted the menu I gave a require_once ""; Only, not all files are in the same…
phpasked Gabriel Victor 65