public function findAll($pid = -1) { if ($pid > 0) { $this->setStoragePid($pid); } return parent::findAll(); }