lib/Sirel/SelectManager.php
function project($projections)
    {
        if (func_get_args() === 1) {
            $projections = (array) $projections;
        }

        if (!is_array($projections)) {
            $projections = func_get_args();
        }

        foreach ($projections as $projection) {
            $this->nodes->projections[] = $projection;
        }
        return $this;
    }
function project($projections)
    {
        if (func_get_args() === 1) {
            $projections = (array) $projections;
        }

        if (!is_array($projections)) {
            $projections = func_get_args();
        }

        foreach ($projections as $projection) {
            $this->nodes->projections[] = $projection;
        }
        return $this;
    }
function project ( $ projections ) { if ( func_get_args ( ) === 1 ) { $ projections = ( array ) $ projections ; } if ( ! is_array ( $ projections ) ) { $ projections = func_get_args ( ) ; } foreach ( $ projections as $ projection ) { $ this -> nodes -> projections [ ] = $ projection ; } return $ this ; }
Adds the given nodes to the list of projections for this Query

@param  array $projections|Node $projection,...
@return SelectManager
Adds the given nodes to the list of projections for this Query