$settings Viva\API\Entity\Setting(17)
  • contents
  • Static class properties (3)
  • Available methods (18)
  • public ratios -> array(2)
     sizeratioweight_ratio
    #1"30""1""1"
    #2"40""1.5""1.5"
    public categories -> array(8)
    'pizza' => integer32
    'constructor' => integer35
    'drink' => integer28
    'sauce' => integer34
    'sushi' => integer33
    'sets' => boolFALSE
    'combo' => boolFALSE
    'other' => boolFALSE
    public external_IP -> string(71) "http://isp1.vivapizza.dns-cloud.net,http://isp2.vivapizza.dns-cloud.net"
    public daily_non_working_hours -> boolFALSE
    public daily_message -> string(0) ""
    public cb_active -> string(0) ""
    public cb_api_url -> string(0) ""
    public cb_login_cash -> string(0) ""
    public cb_password_cash -> string(0) ""
    public cb_license_key_cash -> string(0) ""
    public id -> integer38459
    public title -> string UTF-8(22) "Глобальні налаштування"
    public content -> string(0) ""
    public excerpt -> string(0) ""
    public status -> string(7) "publish"
    public slug -> string(15) "global-settings"
    public create_date -> string(19) "2022-04-29 19:02:03"
  • public $MACHINE_NAME :: string(12) "viva_setting"
    public $METAFIELDS :: array(10)
    string(6) "ratios"
    string(10) "categories"
    string(11) "external_IP"
    string(23) "daily_non_working_hours"
    string(13) "daily_message"
    string(9) "cb_active"
    string(10) "cb_api_url"
    string(13) "cb_login_cash"
    string(16) "cb_password_cash"
    string(19) "cb_license_key_cash"
    public $TAXONOMIES :: array(0)
  • public static create($mixed)
    Inherited from Viva\API\Entity\PostType
    Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:249
    public static get_featured_image($post_id, $size = thumbnail) -> string
    Get featured image
    
    @param $post_id
    @param string $size
    
    @return string
    
    Inherited from Viva\API\Entity\PostType
    Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:342
    public static init($singular_name, $plural_name, $text_domain)
    @param $singular_name
    @param $plural_name
    @param $text_domain
    
    Defined in <ROOT>app/themes/viva-api/Entity/Setting.php:64
    public static register_meta_boxes()
    Function for register the meta boxes
    
    Inherited from Viva\API\Entity\PostType
    Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:283
    public static save_meta_box($post_id)
    Function for filter save_post. Save meta_data for post_type
    
    @param $post_id
    
    Inherited from Viva\API\Entity\PostType
    Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:292
    public __construct($matches = NULL)
    constructor of the class
    
    @param mixed $matches - Can be empty or id of wp_post or WP_POST object or array with values
    
    Inherited from Viva\API\Entity\PostType
    Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:28
    public create_from_post(WP_Post $post, $force = false) -> $this - return object of class
    loads values of fields from WP_Post
    
    @param \WP_Post $post - The wp_post from which the data will be taken
    @param bool $force - if false than data will taken if post_type == $MACHINE_NAME of class only, if true data will taken from any post
    
    @return $this - return object of class
    
    Inherited from Viva\API\Entity\PostType
    Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:136
    public get($name) -> mixed - value of the field $name or false if not exist
    Global getters for all public fields of class
    
    @param $name - name of field
    
    @return mixed - value of the field $name or false if not exist
    
    Inherited from Viva\API\Entity\PostType
    Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:72
    public get_ratio_by_size($size)
    Defined in <ROOT>app/themes/viva-api/Entity/Setting.php:42
    public load_categories()
    Defined in <ROOT>app/themes/viva-api/Entity/Setting.php:29
    public load_daily_non_working_hours()
    Defined in <ROOT>app/themes/viva-api/Entity/Setting.php:55
    public load_field($field) -> $this
    Loaded and set the value for $field from DB
    
    @param $field
    
    @return $this
    
    Inherited from Viva\API\Entity\PostType
    Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:93
    public load_ratios()
    Defined in <ROOT>app/themes/viva-api/Entity/Setting.php:25
    public save($extra_fields = array()) -> $this
    Insert or Update data of object in the database
    
    @param array $extra_fields
    
    @return $this
    
    Inherited from Viva\API\Entity\PostType
    Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:210
    public save_field($field, $value = "") -> $this
    Save the value for $field to the DB
    
    @param $field
    @param $value
    
    @return $this
    
    Inherited from Viva\API\Entity\PostType
    Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:113
    public set($name, $value) -> $this - return object of class
    Global setters for all public fields of class
    
    @param $name - name of field
    @param $value - value of field
    
    @return $this - return object of class
    
    Inherited from Viva\API\Entity\PostType
    Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:52
    public to_array()
    Inherited from Viva\API\Entity\PostType
    Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:178
    public update_from_array(array $array) -> $this
    Set values for fields from array
    
    @param array $array - array where keys it is names of fields and values it is values of fields
    
    @return $this
    
    Inherited from Viva\API\Entity\PostType
    Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:168
get_option(...) float3
$daily boolFALSE

Warning: Invalid argument supplied for foreach() in /home/ic267528/vivapizza.com.ua/v2/web/app/themes/viva-api/Entity/Schedule.php on line 71
\Viva\API\Entity\Schedule::get_unavailable_message() boolFALSE
$CRM->get_active_host() string(35) "http://isp2.vivapizza.dns-cloud.net"
$points array(2)
 IDNAMEADDRESS
1"1""КАПУШАНСЬКА точка""м. Ужгород, вул. Капушанська, 145"
2"5""ОНОКОВЦІ точка""с. Оноківці, вул. Центральна 10 89412"
$isShiftOpen boolFALSE
$order stdClass(69)
public ID -> string(6) "586727"
public NUMBER -> string(9) "000000102"
public CREATIONDATETIME -> string(16) "44757.6195053356"
public FormatCREATIONDATETIME -> string(19) "2022-07-15 14:52:05"
public ORDERTYPE -> string(1) "0"
public ORDERTYPENAME -> string(0) ""
public PAYMENTTYPE -> string(1) "3"
public PAYMENTTYPENAME -> string UTF-8(15) "LiqPay ОПЛАЧЕНО"
public PHONEKIND -> string(1) "0"
public PHONENUMBER -> string(15) "(095) 885-95-50"
public PHONENUMBERINT -> string(9) "958859550"
  • timestamp
  • 2000-05-20 21:52:30
public FULLNAME -> string(15) "(095) 885-95-50"
public CLIENTID -> string(5) "30033"
public ADDRESS -> string UTF-8(11) "Висока д.47"
public ADDRESSINFO -> string(0) ""
public INFO -> string UTF-8(36) "НЕ ДЗВОНИТИ / Висока 47 / Коментар: "
public COURIER -> string(1) "0"
public USERNAME -> string(0) ""
public CANCELTYPE -> string(1) "0"
public ENABLED -> string(1) "1"
public ORDERSTATUS -> string(1) "2"
public CLIENTADDRESSID -> string(5) "57097"
public NUMBERINT -> string(3) "102"
public ORDERTIME -> string(0) ""
public COSTALL -> string(3) "175"
public CHANGEFROM -> string(0) ""
public REMEMBERTIME -> string(0) ""
public PERSONQUANT -> string(1) "0"
public STATUS4DATETIME -> string(0) ""
public STATUS5DATETIME -> string(0) ""
public STATUS6DATETIME -> string(0) ""
public STATUS7DATETIME -> string(0) ""
public STATUS9DATETIME -> string(0) ""
public MINSUMM -> string(1) "0"
public SMSINFORM -> string(1) "0"
public ISPAYMENT -> string(1) "0"
public STOREDOCID -> string(1) "0"
public CSID -> string(1) "0"
public ORDERDATETIME -> string(16) "44757.6472832986"
public FormatORDERDATETIME -> string(19) "2022-07-15 15:32:05"
public REMEMBERDATETIME -> string(0) ""
public USERID -> string(2) "-1"
public SHIFTID -> string(1) "0"
public POINTID -> string(1) "1"
public KIND -> string(1) "0"
public DESKID -> string(1) "0"
public DESKID1 -> string(1) "0"
public WAITERID -> string(1) "0"
public VIRMARKCODE -> string(1) "0"
public ISCACPAYMENT -> string(1) "0"
public CACCOSTALL -> string(1) "0"
public RESTCOSTALL -> string(3) "175"
public DELIVERYCOST -> string(1) "0"
public WSISDELIV -> string(0) ""
public COMEFROMWEB -> string(1) "1"
public MAINTSP -> string(0) ""
public NEEDWTSYNC -> string(1) "1"
public CONTACT_LACK -> string(0) ""
public CONTACT_REPLACE -> string(0) ""
public CONTACT_PRICE -> string(0) ""
public MAX_PRICE -> string(0) ""
public MUSTGOONTIME -> string(16) "44757.6212268519"
public FormatMUSTGOONTIME -> string(19) "2022-07-15 14:54:34"
public RRNACLNUMBER -> string(0) ""
public TERMSETSTATUS5 -> string(0) ""
public ISNEEDCOORDINATION -> string(0) ""
public COURIERISNEAR -> string(1) "0"
public GETCOURIERDATETIME -> string(0) ""
public AddressForYaMap -> string UTF-8(36) "Украина, г. Ужгород, Висока вул., 47"
$order stdClass(69)
public ID -> string(6) "586547"
public NUMBER -> string(9) "000000467"
public CREATIONDATETIME -> string(16) "44756.8473171991"
public FormatCREATIONDATETIME -> string(19) "2022-07-14 20:20:08"
public ORDERTYPE -> string(1) "0"
public ORDERTYPENAME -> string(0) ""
public PAYMENTTYPE -> string(1) "3"
public PAYMENTTYPENAME -> string UTF-8(15) "LiqPay ОПЛАЧЕНО"
public PHONEKIND -> string(1) "0"
public PHONENUMBER -> string(15) "(067) 917-10-25"
public PHONENUMBERINT -> string(9) "679171025"
  • timestamp
  • 1991-07-10 18:37:05
public FULLNAME -> string(15) "(067) 917-10-25"
public CLIENTID -> string(5) "63247"
public ADDRESS -> string UTF-8(28) "Закарпатська вул. д.26 кв.65"
public ADDRESSINFO -> string(0) ""
public INFO -> string UTF-8(62) "НЕ ДЗВОНИТИ / м. Ужгород, Закарпатська 26, кв. 65 / Коментар: "
public COURIER -> string(1) "0"
public USERNAME -> string(0) ""
public CANCELTYPE -> string(1) "0"
public ENABLED -> string(1) "1"
public ORDERSTATUS -> string(1) "2"
public CLIENTADDRESSID -> string(6) "146842"
public NUMBERINT -> string(3) "467"
public ORDERTIME -> string(0) ""
public COSTALL -> string(3) "280"
public CHANGEFROM -> string(0) ""
public REMEMBERTIME -> string(0) ""
public PERSONQUANT -> string(1) "0"
public STATUS4DATETIME -> string(0) ""
public STATUS5DATETIME -> string(0) ""
public STATUS6DATETIME -> string(0) ""
public STATUS7DATETIME -> string(0) ""
public STATUS9DATETIME -> string(0) ""
public MINSUMM -> string(1) "0"
public SMSINFORM -> string(1) "0"
public ISPAYMENT -> string(1) "0"
public STOREDOCID -> string(1) "0"
public CSID -> string(1) "0"
public ORDERDATETIME -> string(15) "44756.875095162"
public FormatORDERDATETIME -> string(19) "2022-07-14 21:00:08"
public REMEMBERDATETIME -> string(0) ""
public USERID -> string(2) "-1"
public SHIFTID -> string(1) "0"
public POINTID -> string(1) "1"
public KIND -> string(1) "0"
public DESKID -> string(1) "0"
public DESKID1 -> string(1) "0"
public WAITERID -> string(1) "0"
public VIRMARKCODE -> string(1) "0"
public ISCACPAYMENT -> string(1) "0"
public CACCOSTALL -> string(1) "0"
public RESTCOSTALL -> string(3) "280"
public DELIVERYCOST -> string(1) "0"
public WSISDELIV -> string(0) ""
public COMEFROMWEB -> string(1) "1"
public MAINTSP -> string(0) ""
public NEEDWTSYNC -> string(1) "1"
public CONTACT_LACK -> string(0) ""
public CONTACT_REPLACE -> string(0) ""
public CONTACT_PRICE -> string(0) ""
public MAX_PRICE -> string(0) ""
public MUSTGOONTIME -> string(16) "44756.8511921296"
public FormatMUSTGOONTIME -> string(19) "2022-07-14 20:25:43"
public RRNACLNUMBER -> string(0) ""
public TERMSETSTATUS5 -> string(0) ""
public ISNEEDCOORDINATION -> string(0) ""
public COURIERISNEAR -> string(1) "0"
public GETCOURIERDATETIME -> string(0) ""
public AddressForYaMap -> string UTF-8(42) "Украина, г. Ужгород, Закарпатська вул., 26"
$addresses array(4)
 labelcityaddressdefault
#1"Дім""Ужгород""вул. Осипенко, 22/33"FALSE
#2"Робота""Ужгород""вул. Богомольця, 21/5"TRUE
#3"Офіс""Ужгород""вул. Мукачівська, 14"FALSE
#4"Office""Uzh""Belfast 21"FALSE
$site_orders array(0)
$CRM->settings->cb_active string(0) ""