Location: PHPKode > projects > Stickleback > stickleback-1.10.0/stickleback/plugins/sbgui/DataTableColumnImpl.php
<?php

/**
 *
 * Copyright (c) 2007 Yahoo! Inc.  All rights reserved.
 * The copyrights embodied in the content of this file are licensed under the BSD
 * open source license
 *
**/

require_once( "sbgui/ComponentImpl.php" );

class sbgui_DataTableColumnImpl extends sbgui_ComponentImpl implements sbgui_DataTableColumn {

    function doHandleEvent( sbgui_CommandEvent $renderevent ) {
    }

    function doHandleDisplay( sbgui_RenderEvent $renderevent ) {
        $this->parent = $this->getParent();
    }

    function getHeader() {
        return "default header";
    }

    function getCell() {
        return $this->textViewletData( print_r( $this->parent->current() ) );
    }
}

?>
Return current item: Stickleback