Page Menu
Home
WMGMC Issues
搜索
Configure Global Search
登录
Files
F16141
PassphraseNoteCredentialType.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
订阅
标记用于日后
授予令牌
Size
716 B
Referenced Files
None
订阅者
None
PassphraseNoteCredentialType.php
View Options
<?php
final
class
PassphraseNoteCredentialType
extends
PassphraseCredentialType
{
const
CREDENTIAL_TYPE
=
'note'
;
const
PROVIDES_TYPE
=
'provides/note'
;
public
function
getCredentialType
()
{
return
self
::
CREDENTIAL_TYPE
;
}
public
function
getProvidesType
()
{
return
self
::
PROVIDES_TYPE
;
}
public
function
getCredentialTypeName
()
{
return
pht
(
'Note'
);
}
public
function
getCredentialTypeDescription
()
{
return
pht
(
'Store a plaintext note.'
);
}
public
function
getSecretLabel
()
{
return
pht
(
'Note'
);
}
public
function
newSecretControl
()
{
return
id
(
new
AphrontFormTextAreaControl
());
}
public
function
shouldRequireUsername
()
{
return
false
;
}
}
File Metadata
详情
附加的
Mime Type
text/x-php
Expires
9月 11 Thu, 1:56 PM (13 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5611
默认替代文本
PassphraseNoteCredentialType.php (716 B)
Attached To
Mode
rP phorge
附加的
Detach File
Event Timeline
Log In to Comment