Esempio n. 1
0
    }
    /**
     * Returns the starting offset of the extent
     * @return string the extent's starting offset
     */
    public function getOffset()
    {
        return $this->offset;
    }
    public function __toString()
    {
        return "Extent: offset: {$this->offset} size: {$this->size}\n";
    }
}
// Initialize the ALL_CONTENT instance
Extent::$ALL_CONTENT = new Extent(-1, -1);
/**
 * A grantee represents a user or group that recieves a permission grant.
 */
class Grantee
{
    const USER = '******';
    const GROUP = 'GROUP';
    /**
     * Static instance that represents the special group 'other'
     */
    public static $OTHER;
    private $name;
    private $type;
    /**
     * Creates a new grantee.