final protected function createSourceElements(array $sources)
    {
        // To be returned
        $output = array();

        foreach ($sources as $type => $src) {
            $output[] = $this->createSourceElement($type, $src);
        }

        return $output;
    }
final protected function createSourceElements(array $sources)
    {
        // To be returned
        $output = array();

        foreach ($sources as $type => $src) {
            $output[] = $this->createSourceElement($type, $src);
        }

        return $output;
    }
final protected function createSourceElements ( array $ sources ) { // To be returned $ output = array ( ) ; foreach ( $ sources as $ type => $ src ) { $ output [ ] = $ this -> createSourceElement ( $ type , $ src ) ; } return $ output ; }
Create source node elements

@param array $sources
@return array
Create source node elements