public function getButtons()
    {
        if ($this->buttons && is_array($this->buttons)) {
            return $this->buttons;
        } else {
            return $this->config()->default_buttons;
        }
    }
public function getButtons()
    {
        if ($this->buttons && is_array($this->buttons)) {
            return $this->buttons;
        } else {
            return $this->config()->default_buttons;
        }
    }
public function getButtons ( ) { if ( $ this -> buttons && is_array ( $ this -> buttons ) ) { return $ this -> buttons ; } else { return $ this -> config ( ) -> default_buttons ; } }
Get all the current buttons

@return array
Get all the current buttons