[ class tree: plugins ] [ index: plugins ] [ all elements ]

Class: deprecated_functions

Source Location: /zp-extensions/deprecated-functions.php

Class deprecated_functions

Class Overview

This plugin deals with functions have been removed from mainstream Zenphoto as they have been supplanted.

They are not maintained and they are not guaranteed to function correctly with the current version of Zenphoto.

The actual set of functions resides in a deprecated-functions.php script within the plugins folder. (General deprecated functions are in the %PLUGIN_FOLDER%/deprecated-functins folder)

Convention is that the deprecated functions script will have a class defined for containing the following:

  • general functions with parameters which have been deprecated: these are declared public static
  • class methods that have been deprecated: these are declared static
  • clas methods with parameters which have been deprecated: these are declared final static

The default settings cause an E_USER_NOTICE error to be generated when the function is used. The text of the error message will tell you how to replace calls on the deprecated function. The error message can be disabled to allow your scripts to continue to run. Visit the deprecated-functions plugin options. Find the function and uncheck the box by the function.

A utility button is provided that allows you to search themes and plugins for uses of functions which have been deprecated. Use it to be proactive in replacing these discontinued items.

Located in /zp-extensions/deprecated-functions.php [line 45]



		
				Author(s):
		
  • Stephen Billard (sbillard)
Information Tags:

Properties

Methods

[ Top ]
Property Summary
mixed   $listed_functions  
mixed   $unique_functions  

[ Top ]
Method Summary
static void   addPluginScript()  
static void   button()  
static void   notify()  
static void   tabs()  
deprecated_functions   __construct()  
void   getOptionsSupported()  

[ Top ]
Properties
mixed   $listed_functions = array() [line 47]

[ Top ]
mixed   $unique_functions = array() [line 48]

[ Top ]
Methods
static method addPluginScript  [line 174]

  static void addPluginScript( )



[ Top ]
static method button  [line 158]

  static void button( $buttons  )

Parameters:
   $buttons: 


[ Top ]
static method notify  [line 122]

  static void notify( $use  )

Parameters:
   $use: 


[ Top ]
static method tabs  [line 103]

  static void tabs( $tabs  )

Parameters:
   $tabs: 


[ Top ]
Constructor __construct  [line 50]

  deprecated_functions __construct( )



[ Top ]
getOptionsSupported  [line 89]

  void getOptionsSupported( )



[ Top ]

Documentation generated on Sat, 07 Jun 2014 18:03:22 +0200 by phpDocumentor 1.4.3