public function save() { if (!$this->getMailKey()) { $this->setMailKey(Filesystem::readRandomCharacters(20)); } return parent::save(); }
protected function getConfiguration() { return array(self::CONFIG_AUX_PHID => true, self::CONFIG_COLUMN_SCHEMA => array('title' => 'text255')) + parent::getConfiguration(); }
public function getConfiguration() { return array(self::CONFIG_AUX_PHID => true) + parent::getConfiguration(); }