diff options
author | Michael Francis <edude03@gmail.com> | 2011-05-28 13:28:16 -0400 |
---|---|---|
committer | Michael Francis <edude03@gmail.com> | 2011-05-28 13:28:16 -0400 |
commit | 2389d66da849798f8d4ec5f10e3b07c11da49185 (patch) | |
tree | e22556d12982395b469a23420c662662e3e064cc /models/contentList.php | |
download | otakuhub-2389d66da849798f8d4ec5f10e3b07c11da49185.tar.xz |
Initial Commit
Diffstat (limited to 'models/contentList.php')
-rw-r--r-- | models/contentList.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/models/contentList.php b/models/contentList.php new file mode 100644 index 0000000..017e261 --- /dev/null +++ b/models/contentList.php @@ -0,0 +1,17 @@ +<?php + +namespace app\models; + +class contentList extends \lithium\data\Model { + public function update() + { + + } + + public function add($entity, $data) + { + $updateData = array('$push' => array('' + $conditions = array('_id' => $user['_id']); + $result = User::update($updateData, $conditions, array('atomic' => false)); + } +}
\ No newline at end of file |