Andrew's Web Libraries (AWL)
vObject.php
1 <?php
10 abstract class vObject {
11 
12  protected $lineHeap;
13 
14  protected $valid = true;
15  protected $master;
16 
17  function __construct(&$master = null){
18  $this->master = isset($master) ? $master : $this;
19  }
20 
21 
22  function isValid(){
23  return $this->valid;
24  }
25 
26  protected function invalidate(){
27  if ( isset($this->master) && $this->master != $this ) $this->master->invalidate();
28  $this->valid = false;
29  }
30 
31  function setMaster($master){
32  $this->master = $master;
33  }
34 
35  public function getMaster(){
36  return $this->master;
37  }
38 
43  //abstract function parse();
44 }