TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 08-21-2009, 04:16 PM   #1 (permalink)
The Wanderer
 
Join Date: Jul 2009
Posts: 5
Thanks: 0
sohdubom is on a distinguished road
Default Class-Object visibility through Properties-Methods Access Modifiers

::Class-Object visibility through Properties-Methods Access Modifiers

In PHP, is it correct to say that we control Class-Object visibility by setting the correct Access Modifier to its properties and methods? eg. In PHP, classes are public, we can't declare a private nor protect class (we can use final and abstract, for other purposes)

Thanx in advance
sohdubom is offline  
Reply With Quote
 



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Abstract Classes sketchMedia Advanced PHP Programming 18 02-28-2013 05:38 AM
Using the factory pattern (mad rantings of a mind without coffee) sketchMedia Advanced PHP Programming 35 09-25-2009 11:05 AM
[wip][Article] Multi-tiered programming and how it ties to OOP Village Idiot Tips & Tricks 9 07-31-2009 07:25 PM
Extends? Implements? Private, Public, Protected? Aaron Advanced PHP Programming 13 05-07-2008 02:38 AM
PHP5 Classes A to Z Part 1 quantumkangaroo Advanced PHP Programming 11 04-01-2008 04:21 AM


All times are GMT. The time now is 11:13 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design