# maxbuttons/7.13.3/classes/controllers/upgradeController.php

MaxButtons – Create buttons, version 7.13.3. 24 lines.

- Page: https://pluginprobe.com/plugins/maxbuttons/7.13.3/code/classes/controllers/upgradeController.php
- Raw: https://pluginprobe.com/plugins/maxbuttons/7.13.3/raw/classes/controllers/upgradeController.php
- Modified: 2019-10-11T11:32:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/maxbuttons/7.13.3/code/classes/controllers/upgradeController.php#L10-L20`.

```php
<?php

namespace MaxButtons;

class upgradeController extends MaxController
{

  protected $view_template = 'maxbuttons-pro';

  public function view()
  {
    if ($this->page == 'social-share')
      $this->view_template = 'social-share';

    parent::view();
  }

  // no posts.
  public function handlePost()
  {
    return false;
  }
} // controller

```
