data = $data; $this->render = $render; $this->aquired=0; } function aquire() { if ($this->aquired==1) { return; } $this->data->aquire(); $this->aquired=1; } function render() { $this->aquire(); $this->render->render($this->data); } }; ?>