kernel/classes/ezsitedata.php
public static function fetchByName( $name )
    {
        $result = parent::fetchObject( self::definition(), null, array( 'name' => $name ) );
        return $result;
    }
public static function fetchByName( $name )
    {
        $result = parent::fetchObject( self::definition(), null, array( 'name' => $name ) );
        return $result;
    }
public static function fetchByName ( $ name ) { $ result = parent :: fetchObject ( self :: definition ( ) , null , array ( 'name' => $ name ) ) ; return $ result ; }
Fetches a site data by name

@param string $name
@return eZPersistentObject
Fetches a site data by name