PHP Class SIS_Admin_Media, Simple-image-sizes

Afficher le fichier Open project: Rahe/Simple-image-sizes

Méthodes publiques

Свойство Type Description
$original Original sizes

Méthodes publiques

Méthode Description
__construct ( )
a_add_size ( ) : void Add a size by Ajax
a_get_list ( ) : void Get the media list to regenerate
a_get_sizes ( ) : void Display the add_image_size for the registered sizes
a_remove_size ( ) : void Remove a size by Ajax
a_thumbnails_rebuild ( ) : array Regenerate the thumbnails ajax action
addSizeButton ( ) : void Add the button to add a size
add_settings_link ( array $links, string $file ) : string Add a link to the setting option page
enqueue_assets ( string $hook_suffix = '' ) Register javascripts and css.
getPhpButton ( ) : void Add the button to get the php for th sizes
image_sizes ( mixed $args ) : void Display the row of the image size
init ( ) : void Init for the option page
thumbnailRegenerate ( ) : void Display the Table of sizes and post types for regenerating

Method Details

__construct() public méthode

public __construct ( )

a_add_size() public static méthode

Add a size by Ajax
Author: Nicolas Juen
public static a_add_size ( ) : void
Résultat void

a_get_list() public static méthode

Get the media list to regenerate
public static a_get_list ( ) : void
Résultat void

a_get_sizes() public static méthode

Display the add_image_size for the registered sizes
public static a_get_sizes ( ) : void
Résultat void

a_remove_size() public static méthode

Remove a size by Ajax
Author: Nicolas Juen
public static a_remove_size ( ) : void
Résultat void

a_thumbnails_rebuild() public static méthode

Regenerate the thumbnails ajax action
Author: Nicolas Juen
public static a_thumbnails_rebuild ( ) : array
Résultat array

addSizeButton() public static méthode

Add the button to add a size
Author: Nicolas Juen
public static addSizeButton ( ) : void
Résultat void

enqueue_assets() public static méthode

Register javascripts and css.
Author: Nicolas Juen
public static enqueue_assets ( string $hook_suffix = '' )
$hook_suffix string

getPhpButton() public static méthode

Add the button to get the php for th sizes
Author: Nicolas Juen
public static getPhpButton ( ) : void
Résultat void

image_sizes() public static méthode

Display the row of the image size
Author: Nicolas Juen
public static image_sizes ( mixed $args ) : void
$args mixed
Résultat void

init() public static méthode

Init for the option page
Author: Nicolas Juen
public static init ( ) : void
Résultat void

thumbnailRegenerate() public static méthode

Display the Table of sizes and post types for regenerating
Author: Nicolas Juen
public static thumbnailRegenerate ( ) : void
Résultat void

Property Details

$original public_oe static_oe property

Original sizes
public static $original