Class lispa\amos\core\forms\editors\socialShareWidget\SocialShareWidget

Inheritancelispa\amos\core\forms\editors\socialShareWidget\SocialShareWidget » ymaker\social\share\widgets\SocialShare

Property Details

$enableModalShare public property
public $enableModalShare true
$linkWrapperOptions public property
public $linkWrapperOptions = ['class' => 'share-wrap-button']
$linkWrapperTag public property
public $linkWrapperTag 'div'
$mode public property
public $mode self::MODE_NORMAL
$model public property
public $model null
$wrapperOptions public property
public $wrapperOptions = ['class' => 'container-social-share']
$wrapperTag public property
public $wrapperTag 'div'

Method Details

canShare() public method

public boolean canShare ( )
init() public method

public void init ( )
isSocialNetworkEmpty() protected method

protected boolean isSocialNetworkEmpty ( )
renderModal() public method

Render Modal for sharing with social

public void renderModal ( )
renderModalAjax() public method

Render the modal for sharing with your network

public void renderModalAjax ( )
run() public method

public void run ( )
setVisibleSocialNetwork() protected method

Remove the social share buttons that haven't the right visibility

protected void setVisibleSocialNetwork ( )