PHP Class Microweber\Providers\MediaManager

Afficher le fichier Open project: microweber/microweber

Méthodes publiques

Свойство Type Description
$app
$download_remote_images
$no_cache
$table_prefix
$tables

Méthodes publiques

Méthode Description
__construct ( $app = null )
create_media_dir ( $params )
delete ( $data )
delete_media_file ( $params )
get ( $params )
get_all ( $params )
get_by_id ( $id )
get_first_image_from_html ( $html )
get_picture ( $content_id, $for = 'content', $full = false )
pixum ( $width = 150, $height = false )
pixum_img ( )
relative_media_start_path ( )
reorder ( $data )
save ( $data )
thumbnail ( $src, $width = 200, $height = 200 )
thumbnail_img ( $params )
thumbnails_path ( )
upload ( $data )
upload_progress_check ( )

Private Methods

Méthode Description
_guess_media_type_from_file_ext ( $ext )
base64_to_file ( $data, $target )
svgScaleHack ( $svg, $minWidth, $minHeight )

Method Details

__construct() public méthode

public __construct ( $app = null )

create_media_dir() public méthode

public create_media_dir ( $params )

delete() public méthode

public delete ( $data )

delete_media_file() public méthode

public delete_media_file ( $params )

get() public méthode

public get ( $params )

get_all() public méthode

public get_all ( $params )

get_by_id() public méthode

public get_by_id ( $id )

get_first_image_from_html() public méthode

public get_first_image_from_html ( $html )

get_picture() public méthode

public get_picture ( $content_id, $for = 'content', $full = false )

pixum() public méthode

public pixum ( $width = 150, $height = false )

pixum_img() public méthode

public pixum_img ( )

relative_media_start_path() public méthode

reorder() public méthode

public reorder ( $data )

save() public méthode

public save ( $data )

thumbnail() public méthode

public thumbnail ( $src, $width = 200, $height = 200 )

thumbnail_img() public méthode

public thumbnail_img ( $params )

thumbnails_path() public méthode

public thumbnails_path ( )

upload() public méthode

public upload ( $data )

upload_progress_check() public méthode

Property Details

$app public_oe property

public $app

$download_remote_images public_oe property

public $download_remote_images

$no_cache public_oe property

public $no_cache

$table_prefix public_oe property

public $table_prefix

$tables public_oe property

public $tables