Page Menu
Home
Xreate
Search
Configure Global Search
Log In
Docs
Questions
Repository
Issues
Patches
Internal API
Files
F3995505
XreateFrontendController.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Jul 7, 12:14 PM
Size
1 KB
Mime Type
text/x-php
Expires
Thu, Jul 9, 12:14 PM (1 d, 18 m)
Engine
blob
Format
Raw Data
Handle
264939
Attached To
rXR Xreate
XreateFrontendController.php
View Options
<?php
class
XreateFrontendController
extends
PhabricatorController
{
public
function
handleRequest
(
AphrontRequest
$request
)
{
$view
=
$this
->
newPage
(
)
;
require_celerity_resource
(
'xreate-syntax-check'
)
;
$actions
=
new
PHUIButtonBarView
(
)
;
$button
=
id
(
new
PHUIButtonView
(
)
)
->
setTag
(
'a'
)
->
setID
(
"check-syntax"
)
->
setColor
(
PHUIButtonView
::
SIMPLE
)
->
setTitle
(
'Check syntax'
)
->
setText
(
'Check syntax'
)
;
$actions
->
addButton
(
$button
)
;
$view
->
appendChild
(
phutil_tag
(
'div'
,
array
(
)
,
array
(
$actions
,
phutil_tag
(
'br'
)
,
phutil_tag
(
'textarea'
,
array
(
'id'
=>
'program'
)
)
,
phutil_tag
(
'textarea'
,
array
(
'id'
=>
'log'
)
)
)
)
)
;
return
$view
;
}
}
/*
* return hsprintf(
'%s%s%s',
parent::getHead(),
$font_css,
$response->renderSingleResource('javelin-magical-init', 'phabricator'));
*
* */
Event Timeline
Log In to Comment