NAMESPACE: Bootstrap/Components/AppzioUiKit/Controls
Components/AppzioUiKit/Controls/uiKitLikeStar.php
Simple like / unlike star which works in async fashion. Provide controller methods for saving the like & unlike (these functions should have $this->no_output = true; set in order not to make the clien refresh.
$liked | 1 or 2 whether the item is liked or not |
$action_like | Full path, ie Controller/like/$id |
$action_unlike | Full path, ie Controller/unlike/$id |
$liked |
$action_like |
$action_unlike |
$height |
$id |