src/Common/Service/Meta.php
public function outputAr()
    {
        $aOut = [];

        foreach ($this->aEntries as $aEntry) {

            $sTemp = !empty($aEntry['tag']) ? '<' . $aEntry['tag'] . ' ' : '<meta ';
            unset($aEntry['tag']);
            foreach ($aEntry as $sKey => $sValue) {

                $sTemp .= $sKey . '="' . $sValue . '" ';
            }
            $sTemp  = trim($sTemp) . '>';
            $aOut[] = $sTemp;
        }

        return $aOut;
    }
public function outputAr()
    {
        $aOut = [];

        foreach ($this->aEntries as $aEntry) {

            $sTemp = !empty($aEntry['tag']) ? '<' . $aEntry['tag'] . ' ' : '<meta ';
            unset($aEntry['tag']);
            foreach ($aEntry as $sKey => $sValue) {

                $sTemp .= $sKey . '="' . $sValue . '" ';
            }
            $sTemp  = trim($sTemp) . '>';
            $aOut[] = $sTemp;
        }

        return $aOut;
    }
public function outputAr ( ) { $ aOut = [ ] ; foreach ( $ this -> aEntries as $ aEntry ) { $ sTemp = ! empty ( $ aEntry [ 'tag' ] ) ? '<' . $ aEntry [ 'tag' ] . ' ' : '<meta ' ; unset ( $ aEntry [ 'tag' ] ) ; foreach ( $ aEntry as $ sKey => $ sValue ) { $ sTemp .= $ sKey . '="' . $ sValue . '" ' ; } $ sTemp = trim ( $ sTemp ) . '>' ; $ aOut [ ] = $ sTemp ; } return $ aOut ; }
Compiles the elements into an array of strings
@return array
Compiles the elements into an array of strings