Created
February 26, 2016 15:59
-
-
Save cakephp-tutorial/84a0db9ee00e607d1fcb to your computer and use it in GitHub Desktop.
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
<?php | |
# /app/Model/Comment.php | |
class Comment extends AppModel | |
{ | |
public $belongsTo = 'Article'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment