PHP Class Pimcore\Model\Object\QuantityValue\Unit\Dao

Inheritance: extends Pimcore\Model\Dao\AbstractDao
Show file Open project: pimcore/pimcore

Protected Properties

Property Type Description
$validColumns array Contains all valid columns in the database table

Public Methods

Method Description
create ( ) : boolean Create a new record for the object in database
delete ( ) : void Deletes object from database
getByAbbreviation ( string $abbreviation ) : void
getById ( $id ) : void
getByReference ( string $reference ) : void
init ( ) : void Get the valid columns from the database
save ( ) : void Save object to database
update ( ) : void

Method Details

create() public method

Create a new record for the object in database
public create ( ) : boolean
return boolean

delete() public method

Deletes object from database
public delete ( ) : void
return void

getByAbbreviation() public method

public getByAbbreviation ( string $abbreviation ) : void
$abbreviation string
return void

getById() public method

public getById ( $id ) : void
return void

getByReference() public method

public getByReference ( string $reference ) : void
$reference string
return void

init() public method

Get the valid columns from the database
public init ( ) : void
return void

save() public method

Save object to database
public save ( ) : void
return void

update() public method

public update ( ) : void
return void

Property Details

$validColumns protected property

Contains all valid columns in the database table
protected array $validColumns
return array