date('m.d.Y', strtotime($deadline)) . ' - 11:59 PM', ); $text = str_replace(array_keys($placeholders), $placeholders, $text); $this->_addItem(array( 'tpl' => $this->getTemplate('text.tpl'), 'text' => $text, )); return $this; } }