# ali2woo-lite/trunk/includes/classes/model/AbstractAccount.php

AliNext – WooCommerce Dropshipping Plugin for AliExpress, version trunk. 30 lines.

- Page: https://pluginprobe.com/plugins/ali2woo-lite/trunk/code/includes/classes/model/AbstractAccount.php
- Raw: https://pluginprobe.com/plugins/ali2woo-lite/trunk/raw/includes/classes/model/AbstractAccount.php
- Modified: 2023-09-22T19:09:32+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ali2woo-lite/trunk/code/includes/classes/model/AbstractAccount.php#L10-L20`.

```php
<?php

/* * class
 * Description of AbstractAccount
 *
 * @author Ali2Woo Team
 * 
 * @position: 1
 */

namespace AliNext_Lite;;

abstract class AbstractAccount {
    protected static $_instance = null;

    protected function __construct() { }

    abstract static public function getInstance();

    abstract public function getDeeplink($hrefs);

    protected function getNormalizedLink($href){
        preg_match('/([0-9]+)\.html/', $href, $match);
        $ext_id = $match[1];
        $href = str_replace("{$ext_id}/", "", $href);

        return $href;
    }
}

```
