application/modules/g/views/helpers/Snippet.php
public function render(
        Zend_Db_Table_Row_Abstract $snippet, $partial = false, array $params = array()
    ) {
        $module = $partial ? 'default' : 'g';
        $partial = $partial ?: 'partials/snippet.phtml';
        $params['snippet'] = $snippet;

        return $this->view->partial($partial, $module, $params);
    }
public function render(
        Zend_Db_Table_Row_Abstract $snippet, $partial = false, array $params = array()
    ) {
        $module = $partial ? 'default' : 'g';
        $partial = $partial ?: 'partials/snippet.phtml';
        $params['snippet'] = $snippet;

        return $this->view->partial($partial, $module, $params);
    }
public function render ( Zend_Db_Table_Row_Abstract $ snippet , $ partial = false , array $ params = array ( ) ) { $ module = $ partial ? 'default' : 'g' ; $ partial = $ partial ? : 'partials/snippet.phtml' ; $ params [ 'snippet' ] = $ snippet ; return $ this -> view -> partial ( $ partial , $ module , $ params ) ; }
Render the snippet

@param Zend_Db_Table_Row_Abstract $snippet
@param string $partial Path to the partial that renders this snippet.
@param array $params Optional extra parameters to pass to the partial.
@return string
Render the snippet