getUrl("customernotes/notes/submit"); } public function getDeleteAction() { return $this->getUrl("customernotes/notes/delete"); } public function getCustomerId() { return Mage::registry('current_customer')->getId(); } public function getCustomerName() { return Mage::registry('current_customer')->getName(); } public function getNotes() { return end(Mage::getModel('customernotes/notes')->getCollection()->addFieldToFilter("customer_id", array("eq" => $this->getCustomerId()))->toArray()); } }