$plate

:: print_r

OBJECT

Registration_model Object
(
    [reg] => 
    [style] => 
    [available] => N
    [verified_owner] => N
    [special_offer] => N
    [stock_offer] => N
    [tags] => 
    [preferred_dealer_id] => 
    [display] => 
    [_table:protected] => registration
    [_enable_timestamps:protected] => 1
    [includeAutoOrderBy] => 1
    [_fields:protected] => Array
        (
            [0] => reg
            [1] => style
            [2] => available
            [3] => verified_owner
            [4] => special_offer
            [5] => stock_offer
            [6] => tags
            [7] => preferred_dealer_id
        )

    [_find_fields:protected] => Array
        (
            [0] => reg
            [1] => style
            [registration_dealer.sell_online] => sell_online
            [registration_dealer.charge_vat] => charge_vat
            [registration_dealer.retail_price] => retail_price
            [registration_dealer.dealer_id] => dealer_id
            [registration_dealer.sale_basis] => sale_basis
            [registration_dealer.dealer_available] => dealer_available
        )

    [_find_referenceTables:protected] => Array
        (
            [registration_dealer] => Array
                (
                    [0] => id
                    [1] => preferred_dealer_id
                )

        )

    [_find_search_fields:protected] => Array
        (
            [0] => reg
        )

    [_find_functions:protected] => Array
        (
            [0] => includeSearchTagLogic
        )

    [_reg_keywords:protected] => Array
        (
        )

    [_search_tags:protected] => Array
        (
        )

    [_default_sortBy:protected] => CASE WHEN dealer_id = 1 AND sale_basis = 'stock' THEN 1 ELSE 2 END ASC, CASE WHEN retail_price > 0 THEN 1 ELSE 2 END ASC, retail_price DESC, reg ASC
    [_id:protected] => 
    [_doesexist:protected] => 
    [_primaryKey:protected] => id
    [__config:protected] => Array
        (
            [use-users] => 
            [created-user-field] => created_by
            [updated-user-field] => modified_by
        )

    [_default_perpage:protected] => 
    [_default_page:protected] => 1
    [_default_sortByReverse:protected] => 
    [_find_groupKey:protected] => 
    [_timestamp_created:protected] => created_at
    [_timestamp_modified:protected] => modified_at
    [_delete_mode:protected] => hard
    [_timestamp_deleted:protected] => deleted_at
    [_user_deleted:protected] => deleted_by
    [_delete_delay:protected] => 86400
    [_errors:protected] => Array
        (
            [description] => Invalid instance ID
        )

    [_validation:protected] => Array
        (
        )

    [_active_user:protected] => 
    [_hardLimit:protected] => 
    [_find_where:protected] => Array
        (
        )

    [_find_where_in:protected] => Array
        (
        )

    [_find_where_not_escaped:protected] => 
    [_find_or_where_not_escaped:protected] => 
    [_find_search_keywords:protected] => Array
        (
        )

    [_fing_case_sensitive:protected] => 
    [_find_mode:protected] => OR
    [_ignored_values:protected] => Array
        (
        )

    [sale_basis] => 
    [retail_price] => 
    [cost_price] => 
    [charge_vat] => 
    [sell_online] => 
    [dealer_id] => 
)