Created
June 4, 2013 04:50
-
-
Save muriloazevedo/5703654 to your computer and use it in GitHub Desktop.
Fazendo relações no DataMapper do CI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Forum extends DataMapper{ | |
public $has_many = array( | |
'filter' => array( | |
'join_table' => 'filter_forums' | |
) | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment