getLabel() public static method

public static getLabel ( $obj, $attr )
<div name="div-block-content-<?php 
echo $block_model->id;
?>
">

<div class="row">
	<?php 
echo CHtml::label(Block::getLabel($block_model, 'display_type'), '');
?>
	<?php 
echo CHtml::dropDownList("Block[display_type]", $block_model->display_type, ListViewBlock::getDisplayTypes(), array('id' => 'Block-display_type'));
?>
	<?php 
echo $form->error($model, 'display_type');
?>
</div> 
<div class="row">
<div class="content-box ">
        <div class="content-box-header">
        <h3><?php 
echo t('site', 'Content list');
?>
</h3>                                
        </div> 

        <div class="content-box-content" style="display: block; padding: 0 0 15px 0">
                <div class="tab-content default-tab">
                         
                            <ul id="content_list" style="margin:0px 0 10px 0px">

                            </ul>
<div name="div-block-content-<?php 
echo $block_model->id;
?>
">
<div class="row">
	<?php 
echo CHtml::label(Block::getLabel($block_model, 'html'), '');
?>
	<?php 
echo CHtml::textArea("Block[html]", $block_model->html, array('id' => 'Block-html', 'rows' => 15, 'cols' => 50, 'style' => 'width:90%'));
?>
	<?php 
echo $form->error($model, 'html');
?>

</div>
</div>
<div name="div-block-content-<?php 
echo $block_model->id;
?>
">
    <?php 
echo CHtml::label(Block::getLabel($block_model, 'menu_id'), '');
?>
    <?php 
echo CHtml::dropDownList("Block[menu_id]", $block_model->menu_id, MenuBlock::findMenu(), array('id' => 'Block-menu_id'));
?>
    <?php 
echo $form->error($model, 'menu_id');
?>
</div>