public function getButtonName()
    {
        $raw = $this->buttonName ?: $this->getButtonText();

        return preg_replace('/[^a-z0-9-_]/', '', strtolower($this->getButtonText()));
    }
public function getButtonName()
    {
        $raw = $this->buttonName ?: $this->getButtonText();

        return preg_replace('/[^a-z0-9-_]/', '', strtolower($this->getButtonText()));
    }
public function getButtonName ( ) { $ raw = $ this -> buttonName ? : $ this -> getButtonText ( ) ; return preg_replace ( '/[^a-z0-9-_]/' , '' , strtolower ( $ this -> getButtonText ( ) ) ) ; }
Get the name of the button. Arbitrary.
@return string
Get the name of the button . Arbitrary .