Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс BaseMeasureRatio
+ Граф наследования:BaseMeasureRatio:

Открытые члены

 __construct (MeasureRatioRepositoryContract $measureRatioRepository)
 
 setRatio (float $ratio)
 
 getRatio ()
 
 isDefault ()
 
 setDefault (bool $state=true)
 
 setProductId (int $productId)
 
 getProductId ()
 
- Открытые члены унаследованные от BaseEntity
 __construct (RepositoryContract $repository=null)
 
 initFields (array $fields)
 
 setParentCollection (?BaseCollection $collection)
 
 getParentCollection ()
 
 getParent ()
 
 getHash ()
 
 setField (string $name, $value)
 
 setFieldNoDemand (string $name, $value)
 
 hasField (string $name)
 
 getField (string $name)
 
 setFields (array $fields)
 
 getFields ()
 
 getChangedFields ()
 
 hasChangedFields ()
 
 isChanged ()
 
 isNew ()
 
 getId ()
 
 setId (int $id)
 
 remove ()
 
 save ()
 
 saveInternal ()
 
 deleteInternal ()
 
 clearChangedFields ()
 

Защищенные члены

 getFieldsMap ()
 
- Защищенные члены унаследованные от BaseEntity
 getFieldStorage ()
 
 createFieldStorage ()
 
 saveInternalEntity ()
 
 getChildCollections (bool $initCollections=false)
 

Дополнительные унаследованные члены

- Защищенные данные унаследованные от BaseEntity
 $entityRepository
 

Подробное описание

См. определение в файле BaseMeasureRatio.php строка 16

Конструктор(ы)

◆ __construct()

__construct ( MeasureRatioRepositoryContract $measureRatioRepository)

См. определение в файле BaseMeasureRatio.php строка 18

Методы

◆ getFieldsMap()

getFieldsMap ( )
protected

Переопределяет метод предка BaseEntity.

См. определение в файле BaseMeasureRatio.php строка 59

◆ getProductId()

getProductId ( )

См. определение в файле BaseMeasureRatio.php строка 54

◆ getRatio()

getRatio ( )

См. определение в файле BaseMeasureRatio.php строка 30

◆ isDefault()

isDefault ( )

См. определение в файле BaseMeasureRatio.php строка 35

◆ setDefault()

setDefault ( bool $state = true)

См. определение в файле BaseMeasureRatio.php строка 40

◆ setProductId()

setProductId ( int $productId)

См. определение в файле BaseMeasureRatio.php строка 47

◆ setRatio()

setRatio ( float $ratio)

См. определение в файле BaseMeasureRatio.php строка 23