Repo/Dao/Compress.php
public function getTreeByCalcId($calcId)
    {
        $where = Entity::A_CALC_ID . '=' . (int)$calcId;
        $entities = $this->get($where);
        $result = [];
        foreach ($entities as $entity) {
            $result[] = $entity->get();
        }
        return $result;
    }
public function getTreeByCalcId($calcId)
    {
        $where = Entity::A_CALC_ID . '=' . (int)$calcId;
        $entities = $this->get($where);
        $result = [];
        foreach ($entities as $entity) {
            $result[] = $entity->get();
        }
        return $result;
    }
public function getTreeByCalcId ( $ calcId ) { $ where = Entity :: A_CALC_ID . '=' . ( int ) $ calcId ; $ entities = $ this -> get ( $ where ) ; $ result = [ ] ; foreach ( $ entities as $ entity ) { $ result [ ] = $ entity -> get ( ) ; } return $ result ; }
Get compressed tree for given calculation.

@TODO: remove usage of this method or change call in callers to expect return result collection of Entities.

@deprecated since MOBI-803
@param integer $calcId
@return array raw data from DB
Get compressed tree for given calculation .