| 1 | <?php |
||
| 14 | abstract class SEO { |
||
| 15 | |||
| 16 | private static $dataset = null; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Initialize the SEO data |
||
| 20 | */ |
||
| 21 | |||
| 22 | public static function init() { |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Set a param value |
||
| 31 | * |
||
| 32 | * @return bool : true on success or false on error |
||
| 33 | */ |
||
| 34 | |||
| 35 | public static function set(string $name, $value) : bool { |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Get a param value |
||
| 44 | * |
||
| 45 | * @return mixed|false : the value or false if the param does not exist |
||
| 46 | */ |
||
| 47 | |||
| 48 | public static function get(string $name) { |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Get a robots string |
||
| 57 | */ |
||
| 58 | |||
| 59 | public static function getRobots() { |
||
| 65 | } |
||
| 66 | } |
||
| 67 |