Stephen Haycox

stison\lib\db\ActiveQuery Object
(
    [_organisationIdColumn:protected] => `Content`.`OrganisationId`
    [_withOrganisationEnabled:protected] => 1
    [_withUserOrganisationEnabled:protected] => 
    [sql] => 
    [on] => 
    [joinWith] => Array
        (
            [0] => Array
                (
                    [0] => Array
                        (
                            [0] => booksExtended
                        )

                    [1] => 
                    [2] => LEFT JOIN
                )

            [1] => Array
                (
                    [0] => Array
                        (
                            [0] => persons
                            [1] => productWebsites
                            [2] => prizes
                        )

                    [1] => 
                    [2] => LEFT JOIN
                )

        )

    [select] => 
    [selectOption] => 
    [distinct] => 
    [from] => 
    [groupBy] => Array
        (
            [0] => Content.ContentId
        )

    [join] => 
    [having] => 
    [union] => 
    [withQueries] => 
    [params] => Array
        (
        )

    [queryCacheDuration] => 
    [queryCacheDependency] => 
    [_events:yii\base\Component:private] => Array
        (
        )

    [_eventWildcards:yii\base\Component:private] => Array
        (
        )

    [_behaviors:yii\base\Component:private] => Array
        (
        )

    [where] => Array
        (
            [0] => and
            [1] => Array
                (
                    [Content.PublisherId] => 178
                )

            [2] => Array
                (
                    [ContentPerson.PersonId] => 13893
                )

        )

    [limit] => 
    [offset] => 
    [orderBy] => Array
        (
            [(CASE WHEN ContentType = 1 THEN 0
	       WHEN ContentType = 2 THEN 1
	       WHEN ContentType = 5 THEN 2
	       ELSE 3
	       END)] => 4
        )

    [indexBy] => 
    [emulateExecution] => 
    [modelClass] => stison\models\Content
    [with] => Array
        (
            [0] => booksExtended
            [1] => bisacCodes
            [2] => publisher
            [3] => imprint
        )

    [asArray] => 
    [multiple] => 
    [primaryModel] => 
    [link] => 
    [via] => 
    [inverseOf] => 
    [viaMap:yii\db\ActiveQuery:private] => 
    [_cacheResult:protected] => Array
        (
            [enable] => 1
            [duration] => 60
            [dependency] => 
        )

)