function init() { parent::init(); $this->hasOne('dokku_alt/App'); $this->addField('name'); $this->addField('value'); $this->addHook('beforeInsert,beforeDelete,beforeModify', $this); }
function init() { parent::init(); //$this->hasOne('dokku_alt/App'); $this->addField('type'); $this->addField('fingerprint'); $this->addField('publickey')->type('text')->caption('Public Key'); $this->addField('privatekey')->type('text')->hint('Optional')->caption('Private Key'); }