1 | <?php |
||
17 | class JsonWpOptionManager |
||
18 | { |
||
19 | /** |
||
20 | * Updates the object with what's in the DB (specifically, the wp_options table). If nothing is in the DB, leaves |
||
21 | * the object alone and returns false. |
||
22 | * @since 4.9.80.p |
||
23 | * @param JsonWpOptionSerializableInterface $obj |
||
24 | * @return bool |
||
25 | */ |
||
26 | public function populateFromDb(JsonWpOptionSerializableInterface $obj) |
||
37 | |||
38 | /** |
||
39 | * Saves the object's data to the wp_options table for later use. |
||
40 | * @since 4.9.80.p |
||
41 | * @param JsonWpOptionSerializableInterface $obj |
||
42 | * @return bool |
||
43 | */ |
||
44 | public function saveToDb(JsonWpOptionSerializableInterface $obj) |
||
52 | } |
||
53 | // End of file JsonWpOptionManager.php |
||
55 |