src/Model/Media/Medialink.php
public static function getNew() {

        //Get the default properties;
        $class = new MediaLink;
        $medialink = get_class_vars(get_class($class));

        //Reset this class!
        foreach ($medialink as $name => $default):
            $class::set($name, null);
            $class::set("objectType", "medialink");
        endforeach;

        return $class;
    }
public static function getNew() {

        //Get the default properties;
        $class = new MediaLink;
        $medialink = get_class_vars(get_class($class));

        //Reset this class!
        foreach ($medialink as $name => $default):
            $class::set($name, null);
            $class::set("objectType", "medialink");
        endforeach;

        return $class;
    }
public static function getNew ( ) { //Get the default properties; $ class = new MediaLink ; $ medialink = get_class_vars ( get_class ( $ class ) ) ; //Reset this class! foreach ( $ medialink as $ name => $ default ) : $ class :: set ( $ name , null ) ; $ class :: set ( "objectType" , "medialink" ) ; endforeach ; return $ class ; }
Creates a new Medialink with defaultvariables

@return \Application\System\Models\Media\MediaLink
Creates a new Medialink with defaultvariables