- $vini_categories array (4)
- 0 => stdClass#104 (21)$vini_categories[0]
- Properties (21)
- id -> string (1) "5"$vini_categories[0]->id
- created_at -> null$vini_categories[0]->created_at
- updated_at -> string (19) "2025-10-28 16:47:47"$vini_categories[0]->updated_at
- deleted_at -> null$vini_categories[0]->deleted_at
- id_app -> null$vini_categories[0]->id_app
- lang -> null$vini_categories[0]->lang
- parent -> null$vini_categories[0]->parent
- ordine -> string (3) "500"$vini_categories[0]->ordine
- public -> string (1) "1"$vini_categories[0]->public
- is_evi -> null$vini_categories[0]->is_evi
- nome -> string (7) "Liquori"$vini_categories[0]->nome
- guid -> string (7) "liquori"$vini_categories[0]->guid
- titolo -> string (7) "Liquori"$vini_categories[0]->titolo
- descrizione -> string (0) ""$vini_categories[0]->descrizione
- main_img_id -> string (1) "0"$vini_categories[0]->main_img_id
- seo_title -> string (0) ""$vini_categories[0]->seo_title
- seo_description -> string (0) ""$vini_categories[0]->seo_description
- seo_keyword -> string (0) ""$vini_categories[0]->seo_keyword
- main_img_obj -> null$vini_categories[0]->main_img_obj
- main_img_path -> null$vini_categories[0]->main_img_path
- vini -> array (0)$vini_categories[0]->vini
- id -> string (1) "5"
- 1 => stdClass#92 (21)$vini_categories[1]
- Properties (21)
- id -> string (1) "3"$vini_categories[1]->id
- created_at -> null$vini_categories[1]->created_at
- updated_at -> string (19) "2025-10-28 16:46:55"$vini_categories[1]->updated_at
- deleted_at -> null$vini_categories[1]->deleted_at
- id_app -> null$vini_categories[1]->id_app
- lang -> null$vini_categories[1]->lang
- parent -> null$vini_categories[1]->parent
- ordine -> string (3) "500"$vini_categories[1]->ordine
- public -> string (1) "1"$vini_categories[1]->public
- is_evi -> null$vini_categories[1]->is_evi
- nome -> string (5) "Rossi"$vini_categories[1]->nome
- guid -> string (5) "rossi"$vini_categories[1]->guid
- titolo -> string (10) "Vini Rossi"$vini_categories[1]->titolo
- descrizione -> string (0) ""$vini_categories[1]->descrizione
- main_img_id -> string (1) "0"$vini_categories[1]->main_img_id
- seo_title -> string (0) ""$vini_categories[1]->seo_title
- seo_description -> string (0) ""$vini_categories[1]->seo_description
- seo_keyword -> string (0) ""$vini_categories[1]->seo_keyword
- main_img_obj -> null$vini_categories[1]->main_img_obj
- main_img_path -> null$vini_categories[1]->main_img_path
- vini -> array (0)$vini_categories[1]->vini
- id -> string (1) "3"
- 2 => stdClass#93 (21)$vini_categories[2]
- Properties (21)
- id -> string (1) "2"$vini_categories[2]->id
- created_at -> null$vini_categories[2]->created_at
- updated_at -> string (19) "2025-10-28 16:46:18"$vini_categories[2]->updated_at
- deleted_at -> null$vini_categories[2]->deleted_at
- id_app -> null$vini_categories[2]->id_app
- lang -> null$vini_categories[2]->lang
- parent -> null$vini_categories[2]->parent
- ordine -> string (3) "500"$vini_categories[2]->ordine
- public -> string (1) "1"$vini_categories[2]->public
- is_evi -> null$vini_categories[2]->is_evi
- nome -> string (6) "Rosati"$vini_categories[2]->nome
- guid -> string (6) "rosati"$vini_categories[2]->guid
- titolo -> string (11) "Vini Rosati"$vini_categories[2]->titolo
- descrizione -> string (0) ""$vini_categories[2]->descrizione
- main_img_id -> string (1) "0"$vini_categories[2]->main_img_id
- seo_title -> string (0) ""$vini_categories[2]->seo_title
- seo_description -> string (0) ""$vini_categories[2]->seo_description
- seo_keyword -> string (0) ""$vini_categories[2]->seo_keyword
- main_img_obj -> null$vini_categories[2]->main_img_obj
- main_img_path -> null$vini_categories[2]->main_img_path
- vini -> array (1)$vini_categories[2]->vini
- 0 => stdClass#132 (33)$vini_categories[2]->vini[0]
- Properties (33)
- id -> string (1) "4"$vini_categories[2]->vini[0]->id
- created_at -> null$vini_categories[2]->vini[0]->created_at
- updated_at -> string (19) "2025-11-20 00:49:44"$vini_categories[2]->vini[0]->updated_at
- deleted_at -> null$vini_categories[2]->vini[0]->deleted_at
- status -> string (1) "1"$vini_categories[2]->vini[0]->status
- id_app -> null$vini_categories[2]->vini[0]->id_app
- lang -> null$vini_categories[2]->vini[0]->lang
- ordine -> string (3) "500"$vini_categories[2]->vini[0]->ordine
- public -> string (1) "1"$vini_categories[2]->vini[0]->public
- is_evi -> string (1) "0"$vini_categories[2]->vini[0]->is_evi
- category -> string (1) "2"$vini_categories[2]->vini[0]->category
- tags -> null$vini_categories[2]->vini[0]->tags
- nome -> string (15) "Manca del rosso"$vini_categories[2]->vini[0]->nome
- guid -> string (15) "manca-del-rosso"$vini_categories[2]->vini[0]->guid
- titolo -> string (15) "Manca del rosso"$vini_categories[2]->vini[0]->titolo
- sottotitolo -> string (0) ""$vini_categories[2]->vini[0]->sottotitolo
- testo_breve -> null$vini_categories[2]->vini[0]->testo_breve
- descrizione -> string (0) ""$vini_categories[2]->vini[0]->descrizione
- ingredienti -> string (0) ""$vini_categories[2]->vini[0]->ingredienti
- smaltimento -> string (0) ""$vini_categories[2]->vini[0]->smaltimento
- main_img_id -> string (1) "0"$vini_categories[2]->vini[0]->main_img_id
- alt_img_id -> string (1) "0"$vini_categories[2]->vini[0]->alt_img_id
- seo_title -> string (0) ""$vini_categories[2]->vini[0]->seo_title
- seo_description -> string (0) ""$vini_categories[2]->vini[0]->seo_description
- seo_keyword -> string (0) ""$vini_categories[2]->vini[0]->seo_keyword
- extra_field -> null$vini_categories[2]->vini[0]->extra_field
- gallery -> string (0) ""$vini_categories[2]->vini[0]->gallery
- version -> null$vini_categories[2]->vini[0]->version
- categoria -> stdClass#136 (6)$vini_categories[2]->vini[0]->categoria
- Properties (6)
- id -> string (1) "2"$vini_categories[2]->vini[0]->categoria->id
- nome -> string (6) "Rosati"$vini_categories[2]->vini[0]->categoria->nome
- guid -> string (6) "rosati"$vini_categories[2]->vini[0]->categoria->guid
- titolo -> string (11) "Vini Rosati"$vini_categories[2]->vini[0]->categoria->titolo
- main_img_obj -> null$vini_categories[2]->vini[0]->categoria->main_img_obj
- main_img_path -> null$vini_categories[2]->vini[0]->categoria->main_img_path
- id -> string (1) "2"
- main_img_obj -> null$vini_categories[2]->vini[0]->main_img_obj
- main_img_path -> null$vini_categories[2]->vini[0]->main_img_path
- alt_img_obj -> null$vini_categories[2]->vini[0]->alt_img_obj
- alt_img_path -> null$vini_categories[2]->vini[0]->alt_img_path
- id -> string (1) "4"
- 0 => stdClass#132 (33)
- id -> string (1) "2"
- 3 => stdClass#72 (21)$vini_categories[3]
- Properties (21)
- id -> string (1) "1"$vini_categories[3]->id
- created_at -> null$vini_categories[3]->created_at
- updated_at -> string (19) "2025-10-28 16:45:40"$vini_categories[3]->updated_at
- deleted_at -> null$vini_categories[3]->deleted_at
- id_app -> null$vini_categories[3]->id_app
- lang -> null$vini_categories[3]->lang
- parent -> null$vini_categories[3]->parent
- ordine -> string (3) "500"$vini_categories[3]->ordine
- public -> string (1) "1"$vini_categories[3]->public
- is_evi -> string (1) "0"$vini_categories[3]->is_evi
- nome -> string (7) "Bianchi"$vini_categories[3]->nome
- guid -> string (7) "bianchi"$vini_categories[3]->guid
- titolo -> string (12) "Vini Bianchi"$vini_categories[3]->titolo
- descrizione -> string (0) ""$vini_categories[3]->descrizione
- main_img_id -> string (1) "0"$vini_categories[3]->main_img_id
- seo_title -> string (0) ""$vini_categories[3]->seo_title
- seo_description -> string (0) ""$vini_categories[3]->seo_description
- seo_keyword -> string (0) ""$vini_categories[3]->seo_keyword
- main_img_obj -> null$vini_categories[3]->main_img_obj
- main_img_path -> null$vini_categories[3]->main_img_path
- vini -> array (2)$vini_categories[3]->vini
- 0 => stdClass#133 (36)$vini_categories[3]->vini[0]
- Properties (36)
- id -> string (1) "2"$vini_categories[3]->vini[0]->id
- created_at -> null$vini_categories[3]->vini[0]->created_at
- updated_at -> string (19) "2025-10-28 17:28:44"$vini_categories[3]->vini[0]->updated_at
- deleted_at -> null$vini_categories[3]->vini[0]->deleted_at
- status -> string (1) "1"$vini_categories[3]->vini[0]->status
- id_app -> null$vini_categories[3]->vini[0]->id_app
- lang -> null$vini_categories[3]->vini[0]->lang
- ordine -> string (3) "500"$vini_categories[3]->vini[0]->ordine
- public -> string (1) "1"$vini_categories[3]->vini[0]->public
- is_evi -> string (1) "0"$vini_categories[3]->vini[0]->is_evi
- category -> string (1) "1"$vini_categories[3]->vini[0]->category
- tags -> null$vini_categories[3]->vini[0]->tags
- nome -> string (4) "Pimi"$vini_categories[3]->vini[0]->nome
- guid -> string (4) "pimi"$vini_categories[3]->vini[0]->guid
- titolo -> string (11) "Pimi Bianco"$vini_categories[3]->vini[0]->titolo
- sottotitolo -> string (11) "Bianco 2021"$vini_categories[3]->vini[0]->sottotitolo
- testo_breve -> string (11) "<p><br></p>"$vini_categories[3]->vini[0]->testo_breve
- descrizione -> UTF-8 string (752) "<p>Pimi bianco 2020 è un raffinato vino bianco del 2020 prodotto da uve Malv...$vini_categories[3]->vini[0]->descrizione
<p>Pimi bianco 2020 è un raffinato vino bianco del 2020 prodotto da uve Malvasia, con un contenuto alcolico del 13%. È un vino che saprà impressionare anche i palati più esigenti. La Malvasia è un vitigno bianco coltivato nella regione della Calabria, Italia, ed è noto per produrre vini con un profilo aromatico e di sapore complesso. </p><p>Questo vino bianco esalta il meglio dell'uva Mantonico, con il suo bouquet delicato e floreale e note di agrumi e frutta tropicale. Al palato, questo vino è ricco e strutturato, con un'acidità ben bilanciata e un finale lungo e appagante. </p><p>Ha un profilo di gusto complesso, con sfumature di miele e mandorle tostate e una sottile nota minerale che contribuisce alla sua eleganza complessiva.</p>
- ingredienti -> string (281) "<p><strong>Uve</strong>: Malvasia 100% </p> <p><strong>Alcol</strong>:&...$vini_categories[3]->vini[0]->ingredienti
<p><strong>Uve</strong>: Malvasia 100% </p> <p><strong>Alcol</strong>: 13% </p> <p><strong>Produzione</strong>: 2000 Bottiglie </p> <p><strong>Macerazione</strong>: 6 giorni di contatto sulle bucce </p> <p><strong>Affinamento</strong>: Vasche di cemento</p>
- smaltimento -> string (0) ""$vini_categories[3]->vini[0]->smaltimento
- main_img_id -> string (2) "10"$vini_categories[3]->vini[0]->main_img_id
- alt_img_id -> string (1) "0"$vini_categories[3]->vini[0]->alt_img_id
- seo_title -> string (0) ""$vini_categories[3]->vini[0]->seo_title
- seo_description -> string (0) ""$vini_categories[3]->vini[0]->seo_description
- seo_keyword -> string (0) ""$vini_categories[3]->vini[0]->seo_keyword
- extra_field -> null$vini_categories[3]->vini[0]->extra_field
- gallery -> string (0) ""$vini_categories[3]->vini[0]->gallery
- version -> null$vini_categories[3]->vini[0]->version
- categoria -> stdClass#141 (6)$vini_categories[3]->vini[0]->categoria
- Properties (6)
- id -> string (1) "1"$vini_categories[3]->vini[0]->categoria->id
- nome -> string (7) "Bianchi"$vini_categories[3]->vini[0]->categoria->nome
- guid -> string (7) "bianchi"$vini_categories[3]->vini[0]->categoria->guid
- titolo -> string (12) "Vini Bianchi"$vini_categories[3]->vini[0]->categoria->titolo
- main_img_obj -> null$vini_categories[3]->vini[0]->categoria->main_img_obj
- main_img_path -> null$vini_categories[3]->vini[0]->categoria->main_img_path
- id -> string (1) "1"
- main_img_obj -> Lc5\Data\Entities\Media#145 (9)$vini_categories[3]->vini[0]->main_img_obj
- Properties (9)
- Methods (19)
- protected datamap -> array (0)
- protected dates -> array (3)
- 0 => string (10) "created_at"
- 1 => string (10) "updated_at"
- 2 => string (10) "deleted_at"
- protected casts -> array (0)
- protected castHandlers -> array (0)
- private defaultCastHandlers -> array (15)
- array => string (33) "CodeIgniter\Entity\Cast\ArrayCast"
- bool => string (35) "CodeIgniter\Entity\Cast\BooleanCast"
- boolean => string (35) "CodeIgniter\Entity\Cast\BooleanCast"
- csv => string (31) "CodeIgniter\Entity\Cast\CSVCast"
- datetime => string (36) "CodeIgniter\Entity\Cast\DatetimeCast"
- double => string (33) "CodeIgniter\Entity\Cast\FloatCast"
- float => string (33) "CodeIgniter\Entity\Cast\FloatCast"
- int => string (35) "CodeIgniter\Entity\Cast\IntegerCast"
- integer => string (35) "CodeIgniter\Entity\Cast\IntegerCast"
- int-bool => string (35) "CodeIgniter\Entity\Cast\IntBoolCast"
- json => string (32) "CodeIgniter\Entity\Cast\JsonCast"
- object => string (34) "CodeIgniter\Entity\Cast\ObjectCast"
- string => string (34) "CodeIgniter\Entity\Cast\StringCast"
- timestamp => string (37) "CodeIgniter\Entity\Cast\TimestampCast"
- uri => string (31) "CodeIgniter\Entity\Cast\URICast"
- protected attributes -> array (19)
- id => string (2) "10"
- created_at => string (19) "2025-09-01 18:10:33"
- updated_at => string (19) "2025-09-01 18:10:33"
- deleted_at => null
- status => string (1) "1"
- id_app => string (1) "1"
- lang => null
- ordine => null
- public => string (1) "1"
- nome => string (6) "pimi-1"
- guid => string (35) "1756743033_3010c38f3122abf59bd3.jpg"
- path => string (35) "1756743033_3010c38f3122abf59bd3.jpg"
- tipo_file => string (3) "jpg"
- mime => string (10) "image/jpeg"
- is_image => string (1) "1"
- image_width => string (3) "200"
- image_height => string (3) "680"
- thumb => string (51) "/uploads/thumbs/1756743033_3010c38f3122abf59bd3.jpg"
- img_thumb => string (51) "/uploads/thumbs/1756743033_3010c38f3122abf59bd3.jpg"
- protected original -> array (17)
- id => string (2) "10"
- created_at => string (19) "2025-09-01 18:10:33"
- updated_at => string (19) "2025-09-01 18:10:33"
- deleted_at => null
- status => string (1) "1"
- id_app => string (1) "1"
- lang => null
- ordine => null
- public => string (1) "1"
- nome => string (6) "pimi-1"
- guid => string (35) "1756743033_3010c38f3122abf59bd3.jpg"
- path => string (35) "1756743033_3010c38f3122abf59bd3.jpg"
- tipo_file => string (3) "jpg"
- mime => string (10) "image/jpeg"
- is_image => string (1) "1"
- image_width => string (3) "200"
- image_height => string (3) "680"
- protected dataCaster -> CodeIgniter\DataCaster\DataCaster#146 (4)
- Properties (4)
- Methods (3)
- private types -> array (0)
- private castHandlers -> array (15) Depth Limit
- private readonly helper -> null
- private readonly strict -> boolean false
- public __construct(?array $castHandlers = null, ?array $types = null, ?object $helper = null, bool $strict = true)
/** * @param array<string, class-string>|null $castHandlers Custom convert handlers * @param array<string, string>|null $types [field => type] * @param object|null $helper Helper object. * @param bool $strict Strict mode? Set to false for casts for Entity. */ Defined in .../DataCaster/DataCaster.php:67
- public setTypes(array $types): static This method is only for Entity.
/** * This method is only for Entity. * * @TODO if Entity::$casts is readonly, we don't need this method. * * @param array<string, string> $types [field => type] * * @return $this * * @internal */ Defined in .../DataCaster/DataCaster.php:104
- public castAs(mixed $value, string $field, string $method = 'get'): mixed Provides the ability to cast an item as a specific data type. Add ? at the be...
/** * Provides the ability to cast an item as a specific data type. * Add ? at the beginning of the type (i.e. ?string) to get `null` * instead of casting $value when $value is null. * * @param mixed $value The value to convert * @param string $field The field name * @param 'get'|'set' $method Allowed to "get" and "set" */ Defined in .../DataCaster/DataCaster.php:120
- private _cast -> boolean true
- public __construct(?array $data = null) Allows filling in Entity parameters during construction.new \Lc5\Data\Entities\Media()
/** * Allows filling in Entity parameters during construction. */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:135
- public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...$vini_categories[3]->vini[0]->main_img_obj->fill()
/** * Takes an array of key/value pairs and sets them as class * properties, using any `setCamelCasedProperty()` methods * that may or may not exist. * * @param array<string, array|bool|float|int|object|string|null> $data * * @return $this */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:158
- public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...$vini_categories[3]->vini[0]->main_img_obj->toArray()
/** * General method that will return all public and protected values * of this entity as an array. All values are accessed through the * __get() magic method so will have any casts, etc applied to them. * * @param bool $onlyChanged If true, only return values that have changed since object creation * @param bool $cast If true, properties will be cast. * @param bool $recursive If true, inner entities will be cast as array as well. */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:180
- public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.$vini_categories[3]->vini[0]->main_img_obj->toRawArray()
/** * Returns the raw values of the current attributes. * * @param bool $onlyChanged If true, only return values that have changed since object creation * @param bool $recursive If true, inner entities will be cast as array as well. */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:222
- public syncOriginal(): $this Ensures our "original" values match the current values.$vini_categories[3]->vini[0]->main_img_obj->syncOriginal()
/** * Ensures our "original" values match the current values. * * @return $this */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:266
- public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...$vini_categories[3]->vini[0]->main_img_obj->hasChanged()
/** * Checks a property to see if it has changed since the entity * was created. Or, without a parameter, checks if any * properties have changed. * * @param string|null $key class property */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:280
- public injectRawData(array $data): $this Set raw data array without any mutations$vini_categories[3]->vini[0]->main_img_obj->injectRawData()
/** * Set raw data array without any mutations * * @return $this */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:307
- public setAttributes(array $data): $this Set raw data array without any mutations$vini_categories[3]->vini[0]->main_img_obj->setAttributes()
/** * Set raw data array without any mutations * * @return $this * * @deprecated Use injectRawData() instead. */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:323
- protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/** * Checks the datamap to see if this property name is being mapped, * and returns the db column name, if any, or the original property name. * * @return string db column name */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:334
- protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/** * Converts the given string|timestamp|DateTime|Time instance * into the "CodeIgniter\I18n\Time" object. * * @param DateTime|float|int|string|Time $value * * @return Time * * @throws Exception */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:357
- protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/** * Provides the ability to cast an item as a specific data type. * Add ? at the beginning of the type (i.e. ?string) to get `null` * instead of casting $value when $value is null. * * @param bool|float|int|string|null $value Attribute value * @param string $attribute Attribute name * @param string $method Allowed to "get" and "set" * * @return array|bool|float|int|object|string|null * * @throws CastException */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:375
- public jsonSerialize(): array Support for json_encode()$vini_categories[3]->vini[0]->main_img_obj->jsonSerialize()
/** * Support for json_encode() * * @return array */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:389
- public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property$vini_categories[3]->vini[0]->main_img_obj->cast()
/** * Change the value of the private $_cast property * * @return bool|Entity */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:399
- public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/** * Magic method to all protected/private class properties to be * easily set, either through a direct access or a * `setCamelCasedProperty()` method. * * Examples: * $this->my_property = $p; * $this->setMyProperty() = $p; * * @param array|bool|float|int|object|string|null $value * * @return void * * @throws Exception */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:425
- public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/** * Magic method to allow retrieval of protected and private class properties * either by their name, or through a `getCamelCasedProperty()` method. * * Examples: * $p = $this->my_property * $p = $this->getMyProperty() * * @return array|bool|float|int|object|string|null * * @throws Exception * * @params string $key class property */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:476
- public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/** * Returns true if a property exists names $key, or a getter method * exists named like for __get(). */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:517
- public __unset(string $key): void Unsets an attribute property.
/** * Unsets an attribute property. */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:537
- protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/** * Whether this key is mapped db column name? */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:551
- protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/** * Whether this key has mapped property? */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:566
- public __construct(?array $data = null) Allows filling in Entity parameters during construction.
- main_img_path -> string (35) "1756743033_3010c38f3122abf59bd3.jpg"$vini_categories[3]->vini[0]->main_img_path
- alt_img_obj -> null$vini_categories[3]->vini[0]->alt_img_obj
- alt_img_path -> null$vini_categories[3]->vini[0]->alt_img_path
- main_img_is_image -> string (1) "1"$vini_categories[3]->vini[0]->main_img_is_image
- main_img_type -> string (3) "jpg"$vini_categories[3]->vini[0]->main_img_type
- main_img_thumb -> string (51) "/uploads/thumbs/1756743033_3010c38f3122abf59bd3.jpg"$vini_categories[3]->vini[0]->main_img_thumb
- id -> string (1) "2"
- 1 => stdClass#137 (36)$vini_categories[3]->vini[1]
- Properties (36)
- id -> string (1) "1"$vini_categories[3]->vini[1]->id
- created_at -> null$vini_categories[3]->vini[1]->created_at
- updated_at -> string (19) "2025-10-28 17:27:40"$vini_categories[3]->vini[1]->updated_at
- deleted_at -> null$vini_categories[3]->vini[1]->deleted_at
- status -> string (1) "1"$vini_categories[3]->vini[1]->status
- id_app -> null$vini_categories[3]->vini[1]->id_app
- lang -> null$vini_categories[3]->vini[1]->lang
- ordine -> string (3) "500"$vini_categories[3]->vini[1]->ordine
- public -> string (1) "1"$vini_categories[3]->vini[1]->public
- is_evi -> string (1) "0"$vini_categories[3]->vini[1]->is_evi
- category -> string (1) "1"$vini_categories[3]->vini[1]->category
- tags -> null$vini_categories[3]->vini[1]->tags
- nome -> string (13) "Bifaro Bianco"$vini_categories[3]->vini[1]->nome
- guid -> string (13) "bifaro-bianco"$vini_categories[3]->vini[1]->guid
- titolo -> string (13) "Bifaro Bianco"$vini_categories[3]->vini[1]->titolo
- sottotitolo -> string (0) ""$vini_categories[3]->vini[1]->sottotitolo
- testo_breve -> string (0) ""$vini_categories[3]->vini[1]->testo_breve
- descrizione -> UTF-8 string (453) "<p>Bifaro bianco è un vino bianco composto da Mantonico e Malvasia, provenie...$vini_categories[3]->vini[1]->descrizione
<p>Bifaro bianco è un vino bianco composto da Mantonico e Malvasia, provenienti da un vigneto situato a 480 metri sul livello del mare. La fermentazione avviene spontaneamente e le uve rimangono a contatto con le bucce per 6 giorni. </p><p>Il vino affina in vasche di cemento. Il suo colore aranciato e il suo profumo sono caratterizzati da note di erbe aromatiche e miele tipiche della macchia mediterranea, con accenni di salinità e mineralità.</p>
- ingredienti -> string (293) "<p><strong>Uve</strong>: Malvasia 80% - Mantonico 20% </p><p><strong>Al...$vini_categories[3]->vini[1]->ingredienti
<p><strong>Uve</strong>: Malvasia 80% - Mantonico 20% </p><p><strong>Alcol</strong>: 13% </p><p><strong>Produzione</strong>: 5000 Bottiglie </p><p><strong>Macerazione</strong>: 6 giorni di contatto sulle bucce </p><p><strong>Affinamento</strong>: Vasche di cemento</p>
- smaltimento -> string (0) ""$vini_categories[3]->vini[1]->smaltimento
- main_img_id -> string (2) "12"$vini_categories[3]->vini[1]->main_img_id
- alt_img_id -> string (1) "0"$vini_categories[3]->vini[1]->alt_img_id
- seo_title -> string (0) ""$vini_categories[3]->vini[1]->seo_title
- seo_description -> string (0) ""$vini_categories[3]->vini[1]->seo_description
- seo_keyword -> string (0) ""$vini_categories[3]->vini[1]->seo_keyword
- extra_field -> string (0) ""$vini_categories[3]->vini[1]->extra_field
- gallery -> string (0) ""$vini_categories[3]->vini[1]->gallery
- version -> null$vini_categories[3]->vini[1]->version
- categoria -> stdClass#140 (6)$vini_categories[3]->vini[1]->categoria
- Properties (6)
- id -> string (1) "1"$vini_categories[3]->vini[1]->categoria->id
- nome -> string (7) "Bianchi"$vini_categories[3]->vini[1]->categoria->nome
- guid -> string (7) "bianchi"$vini_categories[3]->vini[1]->categoria->guid
- titolo -> string (12) "Vini Bianchi"$vini_categories[3]->vini[1]->categoria->titolo
- main_img_obj -> null$vini_categories[3]->vini[1]->categoria->main_img_obj
- main_img_path -> null$vini_categories[3]->vini[1]->categoria->main_img_path
- id -> string (1) "1"
- main_img_obj -> Lc5\Data\Entities\Media#150 (9)$vini_categories[3]->vini[1]->main_img_obj
- Properties (9)
- Methods (19)
- protected datamap -> array (0)
- protected dates -> array (3)
- 0 => string (10) "created_at"
- 1 => string (10) "updated_at"
- 2 => string (10) "deleted_at"
- protected casts -> array (0)
- protected castHandlers -> array (0)
- private defaultCastHandlers -> array (15)
- array => string (33) "CodeIgniter\Entity\Cast\ArrayCast"
- bool => string (35) "CodeIgniter\Entity\Cast\BooleanCast"
- boolean => string (35) "CodeIgniter\Entity\Cast\BooleanCast"
- csv => string (31) "CodeIgniter\Entity\Cast\CSVCast"
- datetime => string (36) "CodeIgniter\Entity\Cast\DatetimeCast"
- double => string (33) "CodeIgniter\Entity\Cast\FloatCast"
- float => string (33) "CodeIgniter\Entity\Cast\FloatCast"
- int => string (35) "CodeIgniter\Entity\Cast\IntegerCast"
- integer => string (35) "CodeIgniter\Entity\Cast\IntegerCast"
- int-bool => string (35) "CodeIgniter\Entity\Cast\IntBoolCast"
- json => string (32) "CodeIgniter\Entity\Cast\JsonCast"
- object => string (34) "CodeIgniter\Entity\Cast\ObjectCast"
- string => string (34) "CodeIgniter\Entity\Cast\StringCast"
- timestamp => string (37) "CodeIgniter\Entity\Cast\TimestampCast"
- uri => string (31) "CodeIgniter\Entity\Cast\URICast"
- protected attributes -> array (19)
- id => string (2) "12"
- created_at => string (19) "2025-10-28 17:25:05"
- updated_at => string (19) "2025-10-28 17:25:05"
- deleted_at => null
- status => string (1) "1"
- id_app => string (1) "1"
- lang => null
- ordine => null
- public => string (1) "1"
- nome => string (8) "bifaro-1"
- guid => string (35) "1761668705_27b5918461362c1f197f.jpg"
- path => string (35) "1761668705_27b5918461362c1f197f.jpg"
- tipo_file => string (3) "jpg"
- mime => string (10) "image/jpeg"
- is_image => string (1) "1"
- image_width => string (3) "193"
- image_height => string (3) "672"
- thumb => string (51) "/uploads/thumbs/1761668705_27b5918461362c1f197f.jpg"
- img_thumb => string (51) "/uploads/thumbs/1761668705_27b5918461362c1f197f.jpg"
- protected original -> array (17)
- id => string (2) "12"
- created_at => string (19) "2025-10-28 17:25:05"
- updated_at => string (19) "2025-10-28 17:25:05"
- deleted_at => null
- status => string (1) "1"
- id_app => string (1) "1"
- lang => null
- ordine => null
- public => string (1) "1"
- nome => string (8) "bifaro-1"
- guid => string (35) "1761668705_27b5918461362c1f197f.jpg"
- path => string (35) "1761668705_27b5918461362c1f197f.jpg"
- tipo_file => string (3) "jpg"
- mime => string (10) "image/jpeg"
- is_image => string (1) "1"
- image_width => string (3) "193"
- image_height => string (3) "672"
- protected dataCaster -> CodeIgniter\DataCaster\DataCaster#151 (4)
- Properties (4)
- Methods (3)
- private types -> array (0)
- private castHandlers -> array (15) Depth Limit
- private readonly helper -> null
- private readonly strict -> boolean false
- public __construct(?array $castHandlers = null, ?array $types = null, ?object $helper = null, bool $strict = true)
/** * @param array<string, class-string>|null $castHandlers Custom convert handlers * @param array<string, string>|null $types [field => type] * @param object|null $helper Helper object. * @param bool $strict Strict mode? Set to false for casts for Entity. */ Defined in .../DataCaster/DataCaster.php:67
- public setTypes(array $types): static This method is only for Entity.
/** * This method is only for Entity. * * @TODO if Entity::$casts is readonly, we don't need this method. * * @param array<string, string> $types [field => type] * * @return $this * * @internal */ Defined in .../DataCaster/DataCaster.php:104
- public castAs(mixed $value, string $field, string $method = 'get'): mixed Provides the ability to cast an item as a specific data type. Add ? at the be...
/** * Provides the ability to cast an item as a specific data type. * Add ? at the beginning of the type (i.e. ?string) to get `null` * instead of casting $value when $value is null. * * @param mixed $value The value to convert * @param string $field The field name * @param 'get'|'set' $method Allowed to "get" and "set" */ Defined in .../DataCaster/DataCaster.php:120
- private _cast -> boolean true
- public __construct(?array $data = null) Allows filling in Entity parameters during construction.new \Lc5\Data\Entities\Media()
/** * Allows filling in Entity parameters during construction. */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:135
- public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...$vini_categories[3]->vini[1]->main_img_obj->fill()
/** * Takes an array of key/value pairs and sets them as class * properties, using any `setCamelCasedProperty()` methods * that may or may not exist. * * @param array<string, array|bool|float|int|object|string|null> $data * * @return $this */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:158
- public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...$vini_categories[3]->vini[1]->main_img_obj->toArray()
/** * General method that will return all public and protected values * of this entity as an array. All values are accessed through the * __get() magic method so will have any casts, etc applied to them. * * @param bool $onlyChanged If true, only return values that have changed since object creation * @param bool $cast If true, properties will be cast. * @param bool $recursive If true, inner entities will be cast as array as well. */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:180
- public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.$vini_categories[3]->vini[1]->main_img_obj->toRawArray()
/** * Returns the raw values of the current attributes. * * @param bool $onlyChanged If true, only return values that have changed since object creation * @param bool $recursive If true, inner entities will be cast as array as well. */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:222
- public syncOriginal(): $this Ensures our "original" values match the current values.$vini_categories[3]->vini[1]->main_img_obj->syncOriginal()
/** * Ensures our "original" values match the current values. * * @return $this */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:266
- public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...$vini_categories[3]->vini[1]->main_img_obj->hasChanged()
/** * Checks a property to see if it has changed since the entity * was created. Or, without a parameter, checks if any * properties have changed. * * @param string|null $key class property */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:280
- public injectRawData(array $data): $this Set raw data array without any mutations$vini_categories[3]->vini[1]->main_img_obj->injectRawData()
/** * Set raw data array without any mutations * * @return $this */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:307
- public setAttributes(array $data): $this Set raw data array without any mutations$vini_categories[3]->vini[1]->main_img_obj->setAttributes()
/** * Set raw data array without any mutations * * @return $this * * @deprecated Use injectRawData() instead. */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:323
- protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/** * Checks the datamap to see if this property name is being mapped, * and returns the db column name, if any, or the original property name. * * @return string db column name */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:334
- protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/** * Converts the given string|timestamp|DateTime|Time instance * into the "CodeIgniter\I18n\Time" object. * * @param DateTime|float|int|string|Time $value * * @return Time * * @throws Exception */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:357
- protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/** * Provides the ability to cast an item as a specific data type. * Add ? at the beginning of the type (i.e. ?string) to get `null` * instead of casting $value when $value is null. * * @param bool|float|int|string|null $value Attribute value * @param string $attribute Attribute name * @param string $method Allowed to "get" and "set" * * @return array|bool|float|int|object|string|null * * @throws CastException */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:375
- public jsonSerialize(): array Support for json_encode()$vini_categories[3]->vini[1]->main_img_obj->jsonSerialize()
/** * Support for json_encode() * * @return array */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:389
- public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property$vini_categories[3]->vini[1]->main_img_obj->cast()
/** * Change the value of the private $_cast property * * @return bool|Entity */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:399
- public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/** * Magic method to all protected/private class properties to be * easily set, either through a direct access or a * `setCamelCasedProperty()` method. * * Examples: * $this->my_property = $p; * $this->setMyProperty() = $p; * * @param array|bool|float|int|object|string|null $value * * @return void * * @throws Exception */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:425
- public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/** * Magic method to allow retrieval of protected and private class properties * either by their name, or through a `getCamelCasedProperty()` method. * * Examples: * $p = $this->my_property * $p = $this->getMyProperty() * * @return array|bool|float|int|object|string|null * * @throws Exception * * @params string $key class property */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:476
- public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/** * Returns true if a property exists names $key, or a getter method * exists named like for __get(). */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:517
- public __unset(string $key): void Unsets an attribute property.
/** * Unsets an attribute property. */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:537
- protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/** * Whether this key is mapped db column name? */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:551
- protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/** * Whether this key has mapped property? */ Inherited from CodeIgniter\Entity\Entity Defined in .../Entity/Entity.php:566
- public __construct(?array $data = null) Allows filling in Entity parameters during construction.
- main_img_path -> string (35) "1761668705_27b5918461362c1f197f.jpg"$vini_categories[3]->vini[1]->main_img_path
- alt_img_obj -> null$vini_categories[3]->vini[1]->alt_img_obj
- alt_img_path -> null$vini_categories[3]->vini[1]->alt_img_path
- main_img_is_image -> string (1) "1"$vini_categories[3]->vini[1]->main_img_is_image
- main_img_type -> string (3) "jpg"$vini_categories[3]->vini[1]->main_img_type
- main_img_thumb -> string (51) "/uploads/thumbs/1761668705_27b5918461362c1f197f.jpg"$vini_categories[3]->vini[1]->main_img_thumb
- id -> string (1) "1"
- 0 => stdClass#133 (36)
- id -> string (1) "1"
- 0 => stdClass#104 (21)