Open Source Content Management System

MgdSchema method get_by_guid

Description:

$object->get_by_guid(string guid)

Minimum version: Midgard 1.7

Gets MgdSchema object from the database by guid.

get_by_guid($guid)) {
         print "Object with $guid exists";
    }
    ?>

Return false when object is not retrieved and true when object is.
Follow mgd_errstr() function to get error message on failure.

Designed by Nemein, hosted by Anykey