Ignore:
Timestamp:
Feb 20, 2014 3:03:59 AM (10 years ago)
Author:
anonymous
Message:

Completed integrating /branches/eli_branch into /trunk. Changes include:

  • Removed closing ?> from end of files
  • Upgrade old-style contructor methods to use construct() instead.
  • Class properties and methods defined as public, private, static or protected
  • Ensure code runs under E_ALL with only mysql_* deprecated warnings
  • Search for the '@' symbol anywhere it might be used to supress runtime errors, then replace with proper error recovery.
  • Run the php cli -l option to check files for syntax errors.
  • Bring tests up-to-date with latest version and methods of PHPUnit
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/lib/Image.inc.php

    r452 r468  
    3131
    3232    // Object parameters.
    33     var $_params = array();
     33    private $_params = array();
    3434
    3535    /**
     
    4141     * @since   26 Jan 2005 01:54:50
    4242     */
    43     function Image($params=array())
     43    public function __construct($params=array())
    4444    {
    4545        if (!is_array($params)) {
     
    7272     * @since   26 Jan 2005 01:54:50
    7373      */
    74     function exists($id)
     74    public function exists($id)
    7575    {
    7676        $src = $this->oSrc($id);
     
    9696     * @since   26 Jan 2005 01:54:50
    9797     */
    98     function size($id, $key)
     98    public function size($id, $key)
    9999    {
    100100        $src = $this->oSrc($id);
     
    114114     * @since   26 Jan 2005 01:56:35
    115115     */
    116     function oSrc($id)
     116    public function oSrc($id)
    117117    {
    118118        $file_name = '';
     
    139139     * @since   26 Jan 2005 01:57:33
    140140     */
    141     function oImg($id, $alt='', $extra='')
     141    public function oImg($id, $alt='', $extra='')
    142142    {
    143143        $src = $this->oSrc($id);
     
    158158    }
    159159} // End class
    160 
    161 ?>
Note: See TracChangeset for help on using the changeset viewer.