Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
calls
- Page 1
Re: Calling an object from another in PHP using construct
Programming
Web Development
20 Hours Ago
by pritaeas
That causes an infinite loop as described by jkon. I'd go for a container class: ```php class Container { private $A; private $B; private $C; public function __construct($A, $B, $C) { $this->A = $A; $this->B = $B; $this->C = $C; } } $A = new A(); $B = new B(); $C = new …
Re: APIs and SDKs in a PHP project
Programming
Web Development
6 Days Ago
by Dani
In the context of PHP, an API's SDK is a PHP-based library that is used to access what is typically a JSON-based API. Composer is a dependency manager for PHP, but you typically don't *need* to use it. What API are you trying to connect to?
Re: APIs and SDKs in a PHP project
Programming
Web Development
5 Days Ago
by pritaeas
> I am also using PHP procedural programming and I noticed that these SDKs use OOP. > Can someone help me make my first API call using an SDK? Do you understand OOP and can you write code using it? If so, continue to the next step. I'd advise against the other way around.
Re: Calling an object from another in PHP using construct
Programming
Web Development
2 Days Ago
by FarrisFahad
Hey, I know that this discussion is old but I need to know now. I am new to OOP in PHP. Is it good to call a class within a class? Why or why not? How should I create an object? I want objects to use other methods from other objects. Your example is good ... class A { private $obj; public function __construct…
Calling an object from another in PHP using construct
Programming
Web Development
1 Week Ago
by FarrisFahad
How can I include objects in each other using PHP OOP? I have 3 classes all classes make use of one another. I am trying to call them on `__construct` but it's creating an infinite
calls
to one another. How can I solve this?
Re: What are the key components of an effective email marketing campaign?
Digital Media
Digital Marketing
4 Weeks Ago
by KomalBhatt
… design optimized for mobile devices. 4. Clear messaging and strong
calls
-to-action. 5. Continuous testing and optimization. 6. Compliance with…
Re: Calling an object from another in PHP using construct
Programming
Web Development
1 Week Ago
by pritaeas
Show some code of how you expect it to work.
Re: Calling an object from another in PHP using construct
Programming
Web Development
1 Week Ago
by Dani
I'm not understanding your question. You can definitely create objects within the methods of other classes. As pritaeas says, please post some code so we can understand better.
Re: Calling an object from another in PHP using construct
Programming
Web Development
1 Week Ago
by jkon
In every OOP language that I know you can create infinite recursive loops in a construction method . Lets play a bit with it in PHP: class A { private $obj; public function __construct() { $this->obj = new B(); } } class B { private $obj; public …
The Rise of AI Scams: Deciphering Reality in a World of Deepfakes
Community Center
2 Months Ago
by Johannes C.
… then target people in that person’s friends list with
calls
and audios that describe some kind of emergency and coax… sure it is actually your son/daughter/neighbor/friend who
calls
you in panic to tell you they lost all their…
PDF Image Table Extractor Web App with Google Gemini Pro and Streamlit
Programming
Computer Science
2 Months Ago
by usmanmalik57
… connect to the Google Gemini Pro model and make API
calls
. **Code for geminiconnector.py** ``` import os from vertexai.preview.generative_models…
Claude 3 Opus Vs. Google Gemini Vs. GPT-4 for Zero-Shot Text Classification
Programming
Computer Science
1 Month Ago
by usmanmalik57
…/api-keys). Next, we define the `find_sentiment_gpt()` function, which internally
calls
the `OpenAI.chat.completions.create()` method to generate a response…
How to Optimize RecyclerView performance by implementing the ViewHolder
Programming
Mobile Development
1 Month Ago
by Mikekelvin
… pattern to improve performance by minimizing the number of findViewById()
calls
. public class MyAdapter extends RecyclerView.Adapter<MyAdapter.ViewHolder>…
APIs and SDKs in a PHP project
Programming
Web Development
1 Month Ago
by FarrisFahad
… add an SDK to my PHP projects to make APIs
calls
. I noticed that every software company have an SDK. I…
Re: How to disable the automatic swipe effect on the product page?
Programming
Web Development
1 Month Ago
by Dani
… MoonCartCarousel, I see that it is just the theme making
calls
to a jQuery class called Swiper and telling Swiper to…
Re: What are the key components of an effective email marketing campaign?
Digital Media
Digital Marketing
1 Month Ago
by AndyBeohar
Based on my experience and observations in my professional career, I believe the following elements should be essential to make email marketing effective and successful: Engaging subject lines, Personalized content, Clear
calls
-to-action, Mobile optimization, Segmentation/Targeting, and Regular performance tracking/analysis.
Re: ASUS Laptops - my experience
Hardware and Software
4 Weeks Ago
by Reverend Jim
… minute. Fifteen minutes later I was told there were eight
calls
ahead of me and would I like to leave my…
Re: APIs and SDKs in a PHP project
Programming
Web Development
1 Month Ago
by rproffitt
> A software development kit is a collection of software development tools in one installable package. As such your last question doesn't make sense. The SDK installs your software development tools and your code would be where the API is called but not a call to the SDK!
Google announces free calls from Gmail to phones
Community Center
Geeks' Lounge
13 Years Ago
by Emily Banks
…http://googlevoiceblog.blogspot.com/2010/08/make-and-receive-
calls
-in-gmail.html"]announced[/URL] today that … are charged a connection fee for international
calls
and even domestic
calls
to landlines or cellphones cost money. Gmail…;http://googlevoiceblog.blogspot.com/2010/08/make-and-receive-
calls
-in-gmail.html"]blog post[/URL]. "…
Silent calls and spam targets cellphone users
Hardware and Software
Networking
16 Years Ago
by happygeek
… family and closest friends. The other is purely for business
calls
, the number is printed on my business. A couple of… times last week I received what are known as silent
calls
: telephone rings, you answer, nobody speaks and the line drops… clicking. It used to be the case that most silent
calls
could be put down to embarrassed types who had mis…
Re: system calls and high level statements
Programming
Software Development
14 Years Ago
by Gaiety
… full rather related information about different OS system
calls
. what i got was these below links but…&meta=&aq=2&oq=system+
calls
+"]<http://www.google.co.in/search…system&meta=&aq=2&oq=system+
calls
+>[/URL] [URL="http://www.google.…co.in/search?hl=en&q=system+
calls
+in+unix+used+by+c+compiler&btnG…
Re: Help Sum their Calls and Visits in listview
Programming
Software Development
11 Years Ago
by ImZick
…Name = "" .Visits = 0 .Sales = 0 .
Calls
= 0 '.NumSales = 0 End With 'Load each name fro …Name TempTotal.Visits += Val(Itm.SubItems(3).Text) TempTotal.
Calls
+= Val(Itm.SubItems(2).Text) End If Next …
Complete Ajax Calls Before Submitting Form
Programming
Web Development
13 Years Ago
by robert_b
… core question is this: How can I make sure ajax
calls
to the server have completed? The problem we're having… that we have a page with a bunch of AJAX
calls
. The
calls
work perfectly and the page works well. The issue… the correct page. Other times, it seems like the AJAX
calls
are still running and when the form is submitted it…
Re: Help Sum their Calls and Visits in listview
Programming
Software Development
11 Years Ago
by tinstaafl
…-1 Then With TempTotal .Name = Itm.Text .
Calls
= Val(Itm.SubItems(1).Text) .Visits =… Else TempTotal = Activity.Item(Indx) TempTotal.
Calls
+= Val(Itm.SubItems(1).Text) TempTotal.…
Re: system calls and high level statements
Programming
Software Development
14 Years Ago
by Gaiety
…() code on MS-Windows and found that eventually it
calls
win32 api WriteFile(). From that experience I would imagine … memset,memcpy, memmove) also uses some built in system
calls
. i just want to know is there any source that… describes the library functions and whose corresponding system
calls
on different OS's. i googled for some time…
Re: Help Sum their Calls and Visits in listview
Programming
Software Development
11 Years Ago
by tinstaafl
…Itm.Text = Name Then Visits += Val(Itm.SubItems(1).Text)
Calls
+= Val(Itm.SubItems(2).Text) End If Next MessageBox.Show…("Visits - " + Str(Visits) + vbNewLine + "
Calls
- " + Str(
Calls
)) End Sub You pass the name, you want the…
Re: DOS EXE patching / far calls / relocations
Programming
Software Development
17 Years Ago
by PaTchX
…variations: small (code and data each limited to 64K, all
calls
are near, all pointers are near) compact (multiple code segments…each, so total data can be more than 64K. All
calls
are near, data pointers are far) large (multiple code segments…, both code and data can be larger than 64K,
calls
are far and data pointers are far) Then the compiler…
Function calls are time expensive in python
Programming
Software Development
15 Years Ago
by mn_kthompson
… counting and Vegaseat made the comment that [QUOTE]Function
calls
are time expensive in Python, so I modified Sneekula…'s count_char2() approach by replacing all those
calls
to islower(), isupper(), isdigit() and isspace(), and also … a bit more on that statement. Why are function
calls
expensive in python, and is it more so than…
system calls and high level statements
Programming
Software Development
14 Years Ago
by Gaiety
…, if any one has the idea of the internal system
calls
which gets activated by using high level statements ( like printf… related info. i have an idea that the internal system
calls
depends on the OS/Compiler. but i want a comprehensive… description of all or few poupular OS system
calls
/ high level statements.
Re: Complete Ajax Calls Before Submitting Form
Programming
Web Development
13 Years Ago
by Airshow
…, You need to somehow inhibit form submission until all AJAX
calls
have been satisfied. Typically, you would do this with a… becomes how to determine whether there are any unsatisfied AJAX
calls
. Personally, I would create an object, [ICODE]var ajaxRequests ...[/ICODE…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC