| 1 | <?php |
||
| 9 | final class NoODP implements DirectiveInterface |
||
| 10 | { |
||
| 11 | const DIRECTIVE = 'noodp'; |
||
| 12 | const MEANING = 'Do not use metadata from the `Open Directory project` (http://dmoz.org/) for titles or snippets shown for this page.'; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Constructor |
||
| 16 | * |
||
| 17 | * @param string $rule |
||
| 18 | */ |
||
| 19 | public function __construct($rule) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Get directive name |
||
| 26 | * |
||
| 27 | * @return string |
||
| 28 | */ |
||
| 29 | public function getDirective() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Get value |
||
| 36 | * |
||
| 37 | * @return bool|string|null |
||
| 38 | */ |
||
| 39 | public function getValue() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Get directive meaning |
||
| 46 | * |
||
| 47 | * @return string |
||
| 48 | */ |
||
| 49 | public function getMeaning() |
||
| 53 | } |
||
| 54 |