private function get_drama_table() { $table = new HTMLTags_Table(); $table->append($this->get_heading_tr()); $i = 1; foreach ($this->get_dramas() as $drama) { $drama_tr = $this->get_drama_tr($drama); if ($i & 1) { $drama_tr->set_attribute_str('class', 'odd'); } $i++; $table->append($drama_tr); } return $table; }