b.enoit.be February 2016
They actually come from a class, which is something you can find back thanks to the block type.
Making a search on my Magento with the template (view) you state here
customer/account/navigation.phtml will help you find the layout related to it.
And then you can find the block type.
customer.xml, you can find :
<block type="customer/account_navigation" name="customer_account_navigation" template="customer/account/navigation.phtml">
And this block type
customer/account_navigation is actually the class
Mage_Customer_Block_Account_Navigation that you can find in the file
To find back this class, there is a quite complicated game of xml handles and path to file mechanism that I already explained multiple time already, if you are curious about it : meaning and location of string inside Magento's Mage:getSingleton and Magento: call a custom block in CMS
The links there, as it looks that is what you are after, are, as you can see, a property of the class itself, that got filled in via :
public function addLink($name, $path, $label, $urlParams=array())
$this->_links[$name] = new Varien_Object(array(
'name' => $name,
'path' => $path,
'label' => $label,
'url' => $this->getUrl($path, $urlParams),
And you can also see on some layout that they actually call this method to add links to that block, e.g. in