Jump to content

Featured Replies

  • 3 weeks later...
  • 2 weeks later...
comment_22581

Well I can but as paid service, since it take time depend on your script size.

There is a sniped from ur function.php

 

class TLDExtractResult implements ArrayAccess
{
    private $fields = NULL;
    public function __construct($subdomain, $domain, $tld)
    {
        $this->fields = array("subdomain" => $subdomain, "domain" => $domain, "tld" => $tld);
    }
    public function __get($name)
    {
        if (array_key_exists($name, $this->fields)) {
            return $this->fields[$name];
        }
        throw new OutOfRangeException(sprintf("Unknown field \"%s\"", $name));
    }
    public function __isset($name)
    {
        return array_key_exists($name, $this->fields);
    }
    public function __set($name, $value)
    {
        throw new LogicException("Can't modify an immutable object.");
    }
    public function __toString()
    {
        return sprintf("%s(subdomain='%s', domain='%s', tld='%s')", "TLDExtractResult", $this->subdomain, $this->domain, $this->tld);
    }
    public function offsetExists($offset)
    {

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.


Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Latest Updated Files