Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4852339
PassphraseNoteCredentialType.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
716 B
Referenced Files
None
Subscribers
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
Details
Attached
Mime Type
text/x-php
Expires
Mon, Jun 9, 06:30 (20 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1768422
Default Alt Text
PassphraseNoteCredentialType.php (716 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment