RTMediaUserInteraction::set_label PHP Method

set_label() public method

Checks if there's a label, if not creates from the action name
public set_label ( )
    function set_label()
    {
        if (empty($this->label)) {
            $this->label = ucfirst($this->action);
        }
    }