array( 'Name' => "Name", 'ShortDescription' => "ShortDescription", 'Slug' => "Slug" ), 'simplehtml' => array( 'LongDescription' => "LongDescription" ), 'numeric' => array( 'CreatorId' => "UserId", 'LineCount' => "LineCount", 'RepositorySize' => "RepositorySize", 'ContributorCount' => "ContributorCount" ), 'timestamp' => array( 'CreationDate' => "CreationDate", 'LastActivity' => "LastActivity" ), 'boolean' => array( 'IsActive' => "Active", 'IsPublic' => "IsPublic" ), 'user' => array( 'Creator' => "CreatorId" ) ); public function MarkActivity($user, $component, $operation, $description = "") { $sLogEntry = new LogEntry(0); $sLogEntry->uComponent = $component; $sLogEntry->uOperation = $operation; $sLogEntry->uUserId = $user; $sLogEntry->uProjectId = $this->sId; $sLogEntry->uDescription = $description; $sLogEntry->InsertIntoDatabase(); $this->uLastActivity = time(); $this->InsertIntoDatabase(); } }