/** * @param $queryRow * * @return \Stack */ public function getResult($queryRow) { $stack = Stack::getByID($queryRow['cID'], 'ACTIVE'); return $stack ?: parent::getResult($queryRow); }
public function getResult($queryRow) { $c = parent::getResult($queryRow); $c->isFavorite = $queryRow['favorite']; return $c; }
/** * @param $queryRow * @return \Concrete\Core\File\File */ public function getResult($queryRow) { return parent::getResult($queryRow); }