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

Changeset 6850


Ignore:
Timestamp:
Apr 30, 2008, 2:59:34 AM (11 years ago)
Author:
ebihara
Message:

OpenPNE_Img::check_format()を削除

File:
1 edited

Legend:

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

    r6849 r6850  
    344344
    345345        $pieces = explode('.', $this->source_filename);
    346         $this->generator->setSourceFormat($this->check_format(array_pop($pieces)));
     346        $this->generator->setSourceFormat($this->generator->checkFormatString(array_pop($pieces)));
    347347    }
    348348
     
    354354        if ($this->requests['f']) {
    355355            // リクエストの f(ormat)に従う
    356             $format = $this->check_format($this->requests['f']);
     356            $format = $this->generator->checkFormatString($this->requests['f']);
    357357        } else {
    358358            // ソースに従う
    359             $format = $this->check_format($this->generator->getSourceFormat());
     359            $format = $this->generator->checkFormatString($this->generator->getSourceFormat());
    360360        }
    361361        $this->generator->setOutputFormat($format);
     
    378378
    379379    /**
    380      * @access protected
    381      */
    382     function check_format($string)
    383     {
    384         return $this->generator->checkFormatString($string);
    385     }
    386 
    387     /**
    388380     * static
    389381     */
Note: See TracChangeset for help on using the changeset viewer.