1 | <?php |
||
11 | class Network_Container extends Theme_Options_Container { |
||
12 | /** |
||
13 | * ID of the site the container is operating with |
||
14 | * |
||
15 | * @see init() |
||
16 | * @var int |
||
17 | */ |
||
18 | protected $site_id; |
||
19 | |||
20 | /** |
||
21 | * {@inheritDoc} |
||
22 | */ |
||
23 | public function __construct( $id, $title, $type, $condition_collection, $condition_translator ) { |
||
34 | |||
35 | /** |
||
36 | * {@inheritDoc} |
||
37 | */ |
||
38 | public function init() { |
||
44 | |||
45 | /** |
||
46 | * Check if a site exists by id |
||
47 | * |
||
48 | * @param integer $id |
||
49 | * @return boolean |
||
50 | */ |
||
51 | protected function site_exists( $id ) { |
||
59 | |||
60 | /** |
||
61 | * Get the site ID the container is operating with. |
||
62 | * |
||
63 | * @return integer |
||
64 | */ |
||
65 | public function get_site_id() { |
||
68 | |||
69 | /** |
||
70 | * Set the site ID the container will operate with. |
||
71 | * |
||
72 | * @param int $id |
||
73 | * @return self $this |
||
74 | */ |
||
75 | public function set_site_id( $id ) { |
||
88 | } |
||
89 |