RE: Object instantiation/referral conventions/alternatives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Are you referring to calling methods and properties statically? That is
the notation that you have below.

http://php.net/manual/en/language.oop5.static.php

Keith Davis (214) 906-5183


-----Original Message-----
From: Jacob Kruger [mailto:jacob@xxxxxxxxxxxxx] 
Sent: Monday, June 18, 2012 8:56 AM
To: php-windows@xxxxxxxxxxxxx
Subject:  Object instantiation/referral
conventions/alternatives

Sorry if subject line is off-topic/off-subject, but, again, comes down
to not 100% sure about what am asking...:)

Either way, along with these sort of wrapper/parent type objects am now
meant to make use of, the naming convention used to refer to them is
like the following:
Security::functionName();
Database::anythingYouLike;

Those could be referring to either a function, a method, or a property,
and think the objects Security and Database are being instantiated in
the sort of page framework/wrapper I am referring to in the top part of
a PHP page, but, not sure exactly how they are defined, if it's a
server/naming convention setting that means they then don't need to
specifically make use of the $ sign before the name of these objects,
whether it's to do with them having being included/instantiated once
off, globally, etc., etc., and the issue with trying to investigate
something like this by searching around the 'net is that certain search
terms aren't the best when it comes to searching around google for
things like this...LOL!

What am trying to put together right about now are my own sort of dummy
versions of these objects, so that can do a bit more testing/trying out
code on my side before uploading pages to server, etc., but anyway.

Thoughts, etc.?

TIA

Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'


This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender.

www.pridedallas.com


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux