示例#1
0
 /**
  * @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;
 }
示例#3
0
 /**
  * @param $queryRow
  * @return \Concrete\Core\File\File
  */
 public function getResult($queryRow)
 {
     return parent::getResult($queryRow);
 }