首页 / 帖子
views field handler 里面的数据如何打印出来 ?

比如有这样的代码

class views_handler_field_example_date extends views_handler_field_date {

    function options_form(&$form, &$form_state) {
        parent::options_form($form, $form_state);
        dpm($form);
        watchdog('module',$form);
        $form['date_format']['#options']['example_custom'] = t('My custom format');
    }
 // -- 
 }

请教 如何把里面的数据打印出来呢 ?非常感谢。

0个答案