This commit is contained in:
2026-09-15 10:26:34 +08:00
commit ecf36afa56
10493 changed files with 1404888 additions and 0 deletions
@@ -0,0 +1,14 @@
<?php
namespace Stemcell\ChineseDirectory\Model\Entity\Attribute\Source;
use Magento\Eav\Model\Entity\Attribute\Source\AbstractSource;
class CityId extends AbstractSource
{
public function getAllOptions()
{
return $this->_options = [
['value' => '', 'label' => __('Please select a city.')]
];
}
}
@@ -0,0 +1,14 @@
<?php
namespace Stemcell\ChineseDirectory\Model\Entity\Attribute\Source;
use Magento\Eav\Model\Entity\Attribute\Source\AbstractSource;
class DistrictId extends AbstractSource
{
public function getAllOptions()
{
return $this->_options = [
['value' => '', 'label' => __('Please select a district.')]
];
}
}
@@ -0,0 +1,14 @@
<?php
namespace Stemcell\ChineseDirectory\Model\Entity\Attribute\Source;
use Magento\Eav\Model\Entity\Attribute\Source\AbstractSource;
class TownId extends AbstractSource
{
public function getAllOptions()
{
return $this->_options = [
['value' => '', 'label' => __('Please select street.')]
];
}
}