function prepare() { parent::prepare(); $this->mirror = $this->getAttribute('mirror'); if (empty($this->mirror)) { return; } if (!($mirrored_pager = $this->parent->findUpChild($this->mirror))) { $this->raiseCompilerError('Could not find component', array('attribute' => $this->mirror)); } }