Ignore:
Timestamp:
Nov 30, 2013 7:30:44 PM (11 years ago)
Author:
anonymous
Message:

added public and private keywords to all properties and methods, changed old classname constructor function to construct, removed more ?> closing tags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eli_branch/lib/Image.inc.php

    r396 r439  
    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);
     
    9595     * @since   26 Jan 2005 01:54:50
    9696     */
    97     function size($id, $key)
     97    public function size($id, $key)
    9898    {
    9999        $src = $this->oSrc($id);
     
    113113     * @since   26 Jan 2005 01:56:35
    114114     */
    115     function oSrc($id)
     115    public function oSrc($id)
    116116    {
    117117        $file_name = '';
     
    138138     * @since   26 Jan 2005 01:57:33
    139139     */
    140     function oImg($id, $alt='', $extra='')
     140    public function oImg($id, $alt='', $extra='')
    141141    {
    142142        $src = $this->oSrc($id);
     
    157157    }
    158158} // End class
    159 
    160 ?>
Note: See TracChangeset for help on using the changeset viewer.