Changeset View
Changeset View
Standalone View
Standalone View
src/applications/macro/storage/PhabricatorFileImageMacro.php
Show All 38 Lines | final class PhabricatorFileImageMacro extends PhabricatorFileDAO | ||||
public function getAudio() { | public function getAudio() { | ||||
return $this->assertAttached($this->audio); | return $this->assertAttached($this->audio); | ||||
} | } | ||||
public function getConfiguration() { | public function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_AUX_PHID => true, | self::CONFIG_AUX_PHID => true, | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'name' => 'text255', | 'name' => 'text128', | ||||
'authorPHID' => 'phid?', | 'authorPHID' => 'phid?', | ||||
'isDisabled' => 'bool', | 'isDisabled' => 'bool', | ||||
'audioPHID' => 'phid?', | 'audioPHID' => 'phid?', | ||||
'audioBehavior' => 'text64', | 'audioBehavior' => 'text64', | ||||
'mailKey' => 'bytes20', | 'mailKey' => 'bytes20', | ||||
), | ), | ||||
self::CONFIG_KEY_SCHEMA => array( | self::CONFIG_KEY_SCHEMA => array( | ||||
'name' => array( | 'name' => array( | ||||
▲ Show 20 Lines • Show All 81 Lines • Show Last 20 Lines |