\OllTv

Oll.tv ispAPI class

Synopsis

class OllTv {
  • // constants
  • const OTV_URL = 'http://oll.tv/';
  • const OTV_URL_DEV = 'http://dev.oll.tv/';
  • const OTV_URL_API = 'ispAPI';
  • const OTV_URL_AUTH = 'auth2';
  • const ERROR = 1;
  • const WARNING = 2;
  • const INFO = 3;
}

Constants

Name Value
OTV_URL 'http://oll.tv/'
OTV_URL_DEV 'http://dev.oll.tv/'
OTV_URL_API 'ispAPI'
OTV_URL_AUTH 'auth2'
ERROR 1
WARNING 2
INFO 3

Members

protected

  • $_errors — array
    ispAPI errors array: key - error status value has short message and full description
  • $_hash — string
    ispAPI hash Hash return ispAPI; using in all requests
  • $_lastMessage — array
    Last message array You can get last message by type even when log has disabled
  • $_log — string
    Path to log file
  • $_logLevel — integer
    Log level variable 0 - not show any messages 1 - only Errors - DEFAULT 2 - Errors, Warnings 3 - Errors, Warnings and Informations
  • $_logType — array
    Log message type Related with $_logLevel var
  • $_login — string
    Client ispAPI login Assign in constructor
  • $_password — string
    Client ispAPI password Assign in constructor
  • $_result — string
    Result variable Return ispAPI
  • $_url — string
    ispAPI url

Methods

protected

public