lib/ezutils/classes/ezini.php
function variableArray( $blockName, $varName )
    {
        $ret = $this->variable( $blockName, $varName );

        if ( is_array( $ret ) )
        {
            $arr = array();
            foreach ( $ret as $key => $retItem )
            {
                $arr[$key] = explode( ';', $retItem );
            }
            $ret = $arr;
        }
        else if ( $ret !== false )
        {
            $ret = trim( $ret ) === '' ? array() : explode( ';', $ret );
        }

        return $ret;
    }
function variableArray( $blockName, $varName )
    {
        $ret = $this->variable( $blockName, $varName );

        if ( is_array( $ret ) )
        {
            $arr = array();
            foreach ( $ret as $key => $retItem )
            {
                $arr[$key] = explode( ';', $retItem );
            }
            $ret = $arr;
        }
        else if ( $ret !== false )
        {
            $ret = trim( $ret ) === '' ? array() : explode( ';', $ret );
        }

        return $ret;
    }
function variableArray ( $ blockName , $ varName ) { $ ret = $ this -> variable ( $ blockName , $ varName ) ; if ( is_array ( $ ret ) ) { $ arr = array ( ) ; foreach ( $ ret as $ key => $ retItem ) { $ arr [ $ key ] = explode ( ';' , $ retItem ) ; } $ ret = $ arr ; } else if ( $ ret !== false ) { $ ret = trim ( $ ret ) === '' ? array ( ) : explode ( ';' , $ ret ) ; } return $ ret ; }
Reads a variable from the ini file or injected settings.
The variable will be returned as an array. ; is used as delimiter.

@param string $blockName
@param string $varName
@return array
Reads a variable from the ini file or injected settings . The variable will be returned as an array . ; is used as delimiter .