how can we pass variables from view to element in cakephp

{ // deep_execution_view
const authorName = "Ankit Agrawal";
//
const publishDate = "October 8, 2015";

we can set param while calling element in view

<?php $this->element('element_name', array('var_name' => $var)); ?>
}