public function __construct($cols = array()) { parent::__construct(defined('MODUL_SELF') ? MODUL_SELF : defined('PAGE_SELF') ? PAGE_SELF : IV_SELF); foreach ($cols as $key => $value) { $this->text($value, $key); } }