Class yeesoft\media\widgets\uploader\UploaderBehavior

Inheritanceyeesoft\media\widgets\uploader\UploaderBehavior » yii\base\Behavior

Class UploaderBehavior

Property Details

$attribute public property
public string $attribute 'uploads'
$isAttributesLoaded protected property
protected $isAttributesLoaded null
$newUploads protected property
protected $newUploads null
$ownerClassName protected property
protected $ownerClassName null
$uploads protected property
protected $uploads null

Method Details

__get() public method

public void __get ( $name )
$name
__isset() public method

public void __isset ( $name )
$name
__set() public method

public void __set ( $name, $value )
$name
$value
afterFind() public method

public void afterFind ( )
afterSave() public method

public void afterSave ( )
attach() public method

public void attach ( $owner )
$owner
canGetProperty() public method

public void canGetProperty ( $name, $checkVars true )
$name
$checkVars
canSetProperty() public method

public void canSetProperty ( $name, $checkVars true )
$name
$checkVars
events() public method

public void events ( )
getMediaUploads() public method

public string getMediaUploads ( )
return string

The attribute name

getUploadAttribute() public method

public string getUploadAttribute ( )
return string

The attribute name

getUploadValue() public method

public array getUploadValue ( )
return array

The attribute value

isUploadAttribute() public method

Whether an attribute exists.

public boolean isUploadAttribute ( $name )
$name string

The name of the attribute

setUploadValue() public method

public void setUploadValue ( $value )
$value array

The value of the attribute

uploadInit() public method

public void uploadInit ( )