Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F69887943
NuancePhabricatorFormSourceDefinition.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Jul 4, 01:19
Size
904 B
Mime Type
text/x-php
Expires
Sat, Jul 6, 01:19 (2 d)
Engine
blob
Format
Raw Data
Handle
18765742
Attached To
rPH Phabricator
NuancePhabricatorFormSourceDefinition.php
View Options
<?php
final
class
NuancePhabricatorFormSourceDefinition
extends
NuanceSourceDefinition
{
public
function
getName
()
{
return
pht
(
'Phabricator Form'
);
}
public
function
getSourceTypeConstant
()
{
return
'phabricator-form'
;
}
public
function
updateItems
()
{
return
null
;
}
protected
function
augmentEditForm
(
AphrontFormView
$form
,
PhabricatorApplicationTransactionValidationException
$ex
=
null
)
{
/* TODO - add a box to allow for custom fields to be defined here, so that
* these NuanceSource objects made from this definition can be used to
* capture arbitrary data */
return
$form
;
}
protected
function
buildTransactions
(
AphrontRequest
$request
)
{
$transactions
=
parent
::
buildTransactions
(
$request
);
// TODO -- as above
return
$transactions
;
}
public
function
renderView
()
{}
public
function
renderListView
()
{}
}
Event Timeline
Log In to Comment