summaryrefslogtreecommitdiffstats
path: root/models/contentList.php
blob: 017e261bc877957fd9b334b9fb5e05c7aab3ba03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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));
		}
}