ich gebe das in meine home.ctp unter pages ein
- Code: Alles auswählen
und bekomme ein Objekt das ungefähr so ausschaut:
- Code: Alles auswählen
- Work Object ( [name] => Work [displayField] => title [useDbConfig] => default [useTable] => works [id] => [data] => Array ( ) [table] => works [primaryKey] => id [_schema] => Array ( [id] => Array ( [type] => integer [null] => [default] => [length] => 11 [key] => primary ) [created] => Array ( [type] => datetime [null] => 1 [default] => [length] => ) [modified] => Array ( [type] => datetime [null] => 1 [default] => [length] => ) [title] => Array ( [type] => string [null] => 1 [default] => [length] => 255 ) [subtitle] => Array ( [type] => string [null] => 1 [default] => [length] => 255 ) [description] => Array ( [type] => text [null] => 1 [default] => [length] => ) [media] => Array ( [type] => text [null] => [default] => [length] ...
Ich brauche aber die Daten, was mach ich falsch, bitte kann mir jemand helfen!
best,
tom