private constructor


Posted on 16th Feb 2014 07:03 pm by admin

Hello,

Can we create a constructor as private? If yes, what is the use of it? If no, why can't we make it?

Please suggest...

Thanks

No comments posted yet

Your Answer:

Login to answer
347 Like 36 Dislike
Previous forums Next forums
Other forums

Passing variables with pagination - iterating through unique id per link
Hi everyone,
I have seen a few topics like this one. Still cant find the specific thing, so I am

Required to login help
I'm trying to set up my site so users have to be logged into the forum to access the site.I've been

Will an XHTML DOCTYPE interfere with my PHP if I'm not experienced enough?
I've read this article here: http://friendlybit.com/html/why-xhtml-is-a-bad-idea/

In a nutshe

controlling/creating accounts with privileges
hi all,
i'm trying to figure out how i can create/control account with privileges, for instance a

Need help making a blockquote and line items conditional
I have some code I bought a few years ago that allows my clients to update content on their site usi

switch form actions? not working
i want on submit to go to different pages according to the CatID

Code: <?php $CatID=$_

FPDF Help
I've been playing with the FPDF module. I was building a form and rolling right along and then sudde

Scrolling news bar and MySQL
I am not sure if this is the correct forum to post this on. If not, I apologize. I am still pretty

Adding post count
How would I make it so everytime someone clicks submit on my form, their row in the database for the

Need help: how to catch acess of undefined class properties
Hello. I am learning OO with PHP and have hit a problem.
Some code runs as perfectly valid code,

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash