setStoreId() публичный Метод

public setStoreId ( integer $storeId )
$storeId integer
 public function createCollectionAction()
 {
     $name = $this->getParam("name");
     $storeId = $this->getParam("storeId");
     $alreadyExist = false;
     $config = Classificationstore\CollectionConfig::getByName($name, $storeId);
     if (!$config) {
         $config = new Classificationstore\CollectionConfig();
         $config->setName($name);
         $config->setStoreId($storeId);
         $config->save();
     }
     $this->_helper->json(["success" => !$alreadyExist, "id" => $config->getName()]);
 }