Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F3281874
ArcanistGridRow.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
705 B
Referenced Files
None
Subscribers
None
ArcanistGridRow.php
View Options
<?php
final
class
ArcanistGridRow
extends
Phobject
{
private
$cells
;
public
function
setCells
(
array
$cells
)
{
$cells
=
id
(
new
PhutilArrayCheck
(
)
)
->
setInstancesOf
(
'ArcanistGridCell'
)
->
setUniqueMethod
(
'getKey'
)
->
setContext
(
$this
,
'setCells'
)
->
checkValue
(
$cells
)
;
$this
->
cells
=
$cells
;
return
$this
;
}
public
function
getCells
(
)
{
return
$this
->
cells
;
}
public
function
hasCell
(
$key
)
{
return
isset
(
$this
->
cells
[
$key
]
)
;
}
public
function
getCell
(
$key
)
{
if
(
!
isset
(
$this
->
cells
[
$key
]
)
)
{
throw
new
Exception
(
pht
(
'Row has no cell "%s".\n'
,
$key
)
)
;
}
return
$this
->
cells
[
$key
]
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Mar 24, 02:14 (1 d, 11 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1115410
Default Alt Text
ArcanistGridRow.php (705 B)
Attached To
Mode
rARC Arcanist
Attached
Detach File
Event Timeline
Log In to Comment