usage() static public method

static public usage ( )
コード例 #1
0
 * REQUIRES ExpressionEngine 2+
 *
 * @package     ED_ImageResizer
 * @version     1.0.4
 * @author      Glen Swinfield (Erskine Design)
 * @copyright   Copyright (c) 2009 Erskine Design
 * @license     http://creativecommons.org/licenses/by-sa/3.0/ Attribution-Share Alike 3.0 Unported
 *
 */

$plugin_info = array(   'pi_name'           => 'EE2 ED Image Resizer',
                        'pi_version'        => '1.0.4',
                        'pi_author'         => 'Erskine Design',
                        'pi_author_url'     => 'http://github.com/erskinedesign/',
                        'pi_description'    => 'Resizes and caches images on the fly',
                        'pi_usage'          => Ed_imageresizer::usage());

/**
 * Ed_imageresizer For EE2.0
 *
 * @package     ED_ImageResizer
 * @author      Erskine Design
 * @version     1.0.3
 *
 */
Class Ed_imageresizer
{

    public     $return_data     = '';           // return data (from constructor)

    /**
コード例 #2
0
<?php

// vim: exandtab softabstop=4 tabstop=4 shiftwidth=4
/**
 * Erskine Design ImageResizer (PHP5 only)
 * 
 * @package     ED_ImageResizer
 * @version     2.1.0
 * @author      Glen Swinfield (Erskine Design)
 * @copyright   Copyright (c) 2009 Erskine Design
 * @license     http://creativecommons.org/licenses/by-sa/3.0/ Attribution-Share Alike 3.0 Unported
 * 
 */
$plugin_info = array('pi_name' => 'ED Image Resizer', 'pi_version' => '2.1.0', 'pi_author' => 'Erskine Design', 'pi_author_url' => 'http://github.com/erskinedesign/ED-Imageresizer', 'pi_description' => 'Resizes and caches images on the fly', 'pi_usage' => Ed_imageresizer::usage());
// We need to parse file paths
if (!class_exists('Typography')) {
    require PATH_CORE . 'core.typography' . EXT;
}
/**
 * Ed_imageresizer
 * 
 * @package     ED_ImageResizer
 * @author      Erskine Design
 * @version     2.1.0
 * 
 */
class Ed_imageresizer
{
    public $return_data = '';
    // return data (from constructor)
    /**