2017 © Pedro Peláez
 

library bitrix-iblock-property-type

Set of custom Bitrix iblock property types and basic auxiliary functionality to help develop new types as easy and fast as it possible.

image

webarchitect609/bitrix-iblock-property-type

Set of custom Bitrix iblock property types and basic auxiliary functionality to help develop new types as easy and fast as it possible.

  • Tuesday, June 5, 2018
  • by webarchitect609
  • Repository
  • 1 Watchers
  • 0 Stars
  • 175 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 2 Open issues
  • 5 Versions
  • 161 % Grown

The README.md

Набор собственных типов свойств элементов инфоблоков, а также базовый функционал, призванный максимально упростить и ускорить разработку новых собственных типов свойств., (*1)

Если вы хотите создавать свои пользовательские типы свойств, то вам нужен пакет webarchitect609/bitrix-user-type, (*2)

Как использовать:

1 Установить через composer, (*3)

composer require webarchitect609/bitrix-iblock-property-type, (*4)

2 В init.php инициализировать используемые типы свойств. Например,, (*5)

(new \WebArch\BitrixIblockPropertyType\YesNoType())->init();, (*6)

3 Теперь можно настраивать инфоблок, добавив свойство нового типа!, (*7)

Как разработать свой тип свойства:

1 Наследовать свой тип от базовой реализации \WebArch\BitrixIblockPropertyType\Abstraction\IblockPropertyTypeBase,, (*8)

2 Определить обязательные методы getPropertyType() и getDescription(), (*9)

3 Переопределить необходимые для вашего типа свойства методы, описанные интерфейсом \WebArch\BitrixIblockPropertyType\Abstraction\IblockPropertyTypeInterface, (*10)

4 Переопределённые в пункте 3 методы должны быть включены в определение ещё одного обязательного метода getCallbacksMapping();, (*11)

5 Инициализировать свой тип свойства в init.php, (*12)

(new MyIblockPropertyType())->init();, (*13)

Теперь можно настраивать инфоблок, добавив свойство нового типа!, (*14)

The Versions

05/06 2018

dev-master

9999999-dev

Set of custom Bitrix iblock property types and basic auxiliary functionality to help develop new types as easy and fast as it possible.

  Sources   Download

MIT

The Requires

  • php >=5.5

 

by Sergey Gripinskiy

bitrix iblock

05/06 2018

v1.0.3

1.0.3.0

Set of custom Bitrix iblock property types and basic auxiliary functionality to help develop new types as easy and fast as it possible.

  Sources   Download

MIT

The Requires

  • php >=5.5

 

by Sergey Gripinskiy

bitrix iblock

17/04 2018

v1.0.2

1.0.2.0

Set of custom Bitrix iblock property types and basic auxiliary functionality to help develop new types as easy and fast as it possible.

  Sources   Download

MIT

The Requires

  • php >=5.5

 

by Sergey Gripinskiy

bitrix iblock

04/04 2018

v1.0.1

1.0.1.0

Set of custom Bitrix iblock property types and basic auxiliary functionality to help develop new types as easy and fast as it possible.

  Sources   Download

MIT

The Requires

  • php >=5.5

 

by Sergey Gripinskiy

04/04 2018

v1.0.0

1.0.0.0

Set of custom Bitrix iblock property types and basic auxiliary functionality to help develop new types as easy and fast as it possible.

  Sources   Download

MIT

The Requires

  • php >=5.5

 

by Sergey Gripinskiy