ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 6888


Ignore:
Timestamp:
May 1, 2008, 2:23:21 AM (11 years ago)
Author:
ebihara
Message:

不要なraw_imgプロパティを削除

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/work/ebihara/prj_renew_OpenPNE_Img/webapp/lib/OpenPNE/Img.php

    r6887 r6888  
    2323    // options
    2424    var $cache_dir;
    25 
    26     var $raw_img;
    2725
    2826    var $source_filename;
     
    123121        }
    124122
    125         if (!$this->raw_img = $this->get_raw_img()) {
     123        if (!$raw_img = $this->storage->getRawImage($this->requests['filename'])) {
    126124            return false;
    127125        }
    128126
    129         return $this->generator->createImage($this->cache_fullpath, $this->cache_dir, $this->raw_img, $w, $h, $this->requests['f']);
     127        return $this->generator->createImage($this->cache_fullpath, $this->cache_dir, $raw_img, $w, $h, $this->requests['f']);
    130128    }
    131129
     
    159157    {
    160158        return is_readable($this->cache_fullpath);
    161     }
    162 
    163     /**
    164      * 画像データを取得
    165      *
    166      * @access protected
    167      * @return string raw image data
    168      */
    169     function get_raw_img()
    170     {
    171         return $this->storage->getRawImage($this->requests['filename']);
    172159    }
    173160
Note: See TracChangeset for help on using the changeset viewer.