| 1 | <?php |
||
| 19 | abstract class Widget extends \WP_Widget implements WidgetInterface |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * Constructor. |
||
| 23 | * |
||
| 24 | * @param string $id The name id |
||
| 25 | * @param string $name The name |
||
| 26 | * @param array $description The description |
||
| 27 | */ |
||
| 28 | public function __construct($id, $name, $description) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function name() |
||
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | public function number() |
||
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | public function register() |
||
| 58 | } |
||
| 59 |