public static function instance() { if (self::$instance == null) { self::$instance = new M_Comments(); } return self::$instance; }
public static function Instance() { if (self::$instance == null) { self::$instance = new self(); } return self::$instance; }
public static function Instance() { // гарантия одного экземпляра if (self::$instance === null) { self::$instance = new self(); } return self::$instance; }