Update data in my custom block
PermalinkI would update a data in my custom block, but without add or edit block method.
For my example, i have a field (trading) price in my custom db block, fixed in the add.php according to trading at the moment.
And in my page with custom block, when i reload page, i check new (trading) price of the day and if is different, i would update this price in my custom db block.
I know recover variable
$this->trading_price;
but i don't know set this ($this->set ... ?) in controller method.
Thank you for your attention ;)

that ?
Can you give me a little exemple ?
I don't understand.
this block is in 6 exemplary for calcul different prices relative to
this trading price.
Is not possible to set a db_field in custom db block with a method controller ?