PHP Classes
Icontem

Class: Friendly class


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend!
      Classes of Rubens Takiguti Ribeiro  >  Friendly class  >  Download  >  Support forum Support forum  >  RSS 1.0 feed RSS 2.0 feed Latest changes  >  Stumble It! Stumble It!  >  Bookmark in del.icio.us Bookmark in del.icio.us  
  Supplied by   Group folder image Groups   Detailed description  
  Applications   Files Files  
  • Supplied by:

    Picture of Rubens Takiguti Ribeiro
    Name: Rubens Takiguti Ribeiro <e-mail contact>
    Published packages: 1
    Country: Brazil Brazil - PHP jobs in Brazil
    Home page: http://www.tecnolivre.ufla.br/

    Browse this author's classes

  • Innovation Award:

    PHP Programming Innovation award nominee
    August 2008
    Number 3
    Certain packages consist of multiple classes that are used in cooperation. Such classes usually need to access each other protected variables or functions.

    In other languages there are friend classes like in C++ or package classes like in Java that allow restricting the access to variables of functions to cooperating classes.

    Even with the enhancements of version 5 object model, there is no PHP support to this concept similar to C++ friend or Java package classes.

    This class provides an emulation of such concept that works under PHP 5.

    Manuel Lemos
  • Groups:

    Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
    Group folder image Language Constructs to assist in the language control View top rated classes
  • Detailed description:

    This class can be used to provide access to protected or private functions from friend classes.

    It is a base class that provides alternative methods prefixed with the name friend_ .

    When a function is called with that prefix, the base class calls the function with the name after the prefix, if it is considered a friend method.
  • Applications that use this class:

    No application links were specified for this class.
    Add link image If you know an application of this package, send a message to the author to add a link here.
  • Files:

    File Role Description
    Plain text file friendly_class.class.php Class Main class
    Plain text file doc.php Doc. Documentation
    Accessible without login Plain text file example.php Example Simple example
    Plain text file LICENSE.TXT Lic. License
    Download all files: friendly_class.tar.gz friendly_class.zip
    NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2008 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products