Hi,
Could you help me about DAY 3, The ORM? After generated the PHP
Classes, they put the codes below that can be manipulated, but how do
I proceed? Should I insert this codes into the class codes? Which
classes?

"The column values of a record can be manipulated with a model object
by using some accessors (get*() methods) and mutators (set*()
methods):

$job = new JobeetJob();
$job->setPosition('Web developer');
$job->save();

echo $job->getPosition();

$job->delete();You can also define foreign keys directly by linking
objects together:

$category = new JobeetCategory();
$category->setName('Programming');

$job = new JobeetJob();
$job->setCategory($category);

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to