Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F9031
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Authored By
stwalkerster
Feb 8 2017, 9:21 PM
2017-02-08 21:21:25 (UTC+0)
Size
818 B
Referenced Files
None
Subscribers
None
View Options
$query = $this->buildQuery(array('*'));
$query .= $this->applyOrder();
// shuffle around hackily TODO: fix this abomination
$localParameterList = $this->parameterList;
$this->parameterList = array();
$query .= $this->applyLimit();
$limitParameters = $this->parameterList;
$statement = $this->database->prepare($query);
$countStatement = $this->database->prepare($countQuery);
$result = array();
foreach ($values as $v) {
// reset parameter list
$params = $localParameterList;
$params[] = $v;
$countStatement->execute($params);
// reapply the limit parameters
$params = array_merge($params, $limitParameters);
$statement->execute($params);
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
7990
Default Alt Text
(818 B)
Attached To
Mode
P110 (An Untitled Masterwork)
Attached
Detach File
Event Timeline
Log In to Comment