application/modules/g/views/helpers/Browsebox.php
public function browsebox(Garp_Browsebox $browsebox = null, $params = array()) {
        if (is_null($browsebox)) {
            return $this;
        }

        static::$_store[$browsebox->getId()] = $browsebox;
        $params = array_merge(
            $params, array(
                'results' => $browsebox->getResults(),
                'next'    => $browsebox->getNextUrl(),
                'prev'    => $browsebox->getPrevUrl()
            )
        );
        return $this->view->partial(
            $browsebox->getViewPath(),
            'default',
            $params
        );
    }
public function browsebox(Garp_Browsebox $browsebox = null, $params = array()) {
        if (is_null($browsebox)) {
            return $this;
        }

        static::$_store[$browsebox->getId()] = $browsebox;
        $params = array_merge(
            $params, array(
                'results' => $browsebox->getResults(),
                'next'    => $browsebox->getNextUrl(),
                'prev'    => $browsebox->getPrevUrl()
            )
        );
        return $this->view->partial(
            $browsebox->getViewPath(),
            'default',
            $params
        );
    }
public function browsebox ( Garp_Browsebox $ browsebox = null , $ params = array ( ) ) { if ( is_null ( $ browsebox ) ) { return $ this ; } static :: $ _store [ $ browsebox -> getId ( ) ] = $ browsebox ; $ params = array_merge ( $ params , array ( 'results' => $ browsebox -> getResults ( ) , 'next' => $ browsebox -> getNextUrl ( ) , 'prev' => $ browsebox -> getPrevUrl ( ) ) ) ; return $ this -> view -> partial ( $ browsebox -> getViewPath ( ) , 'default' , $ params ) ; }
Render a browsebox object

@param Garp_Browsebox $browsebox
@param array $params Extra parameters sent to the partial
@return string
Render a browsebox object