lib/magento/Target.php
public function getTargets()
    {
        if (!is_array($this->_targets)) {
            $this->_targets = array();
            if($this->_getTargetMap()) {
                foreach ($this->_getTargetMap() as $_target) {
                    $this->_targets[$_target['name']] = (string)$_target['uri'];
                }
            }
        }
        return $this->_targets;
    }
public function getTargets()
    {
        if (!is_array($this->_targets)) {
            $this->_targets = array();
            if($this->_getTargetMap()) {
                foreach ($this->_getTargetMap() as $_target) {
                    $this->_targets[$_target['name']] = (string)$_target['uri'];
                }
            }
        }
        return $this->_targets;
    }
public function getTargets ( ) { if ( ! is_array ( $ this -> _targets ) ) { $ this -> _targets = array ( ) ; if ( $ this -> _getTargetMap ( ) ) { foreach ( $ this -> _getTargetMap ( ) as $ _target ) { $ this -> _targets [ $ _target [ 'name' ] ] = ( string ) $ _target [ 'uri' ] ; } } } return $ this -> _targets ; }
Retrieve targets as associative array from target.xml.

@return array
Retrieve targets as associative array from target . xml .