public static function create(
        $className,
        $objectId = null,
        $isPointer = false
    ) {
        if (isset(self::$registeredSubclasses[$className]))
        {
            return new self::$registeredSubclasses[$className]($className, $objectId, $isPointer);
        } else
        {
            return new AVObject($className, $objectId, $isPointer);
        }
    }
public static function create(
        $className,
        $objectId = null,
        $isPointer = false
    ) {
        if (isset(self::$registeredSubclasses[$className]))
        {
            return new self::$registeredSubclasses[$className]($className, $objectId, $isPointer);
        } else
        {
            return new AVObject($className, $objectId, $isPointer);
        }
    }
public static function create ( $ className , $ objectId = null , $ isPointer = false ) { if ( isset ( self :: $ registeredSubclasses [ $ className ] ) ) { return new self :: $ registeredSubclasses [ $ className ] ( $ className , $ objectId , $ isPointer ) ; } else { return new AVObject ( $ className , $ objectId , $ isPointer ) ; } }
Static method which returns a new Avos Object for a given class
Optionally creates a pointer object if the objectId is provided.

@param string $className Class Name for data on Avos.
@param string $objectId Unique identifier for existing object.
@param bool $isPointer If the object is a pointer.

@return Object
Static method which returns a new Avos Object for a given class Optionally creates a pointer object if the objectId is provided .