generateBasisElement_ExampleData.php 1.69 KB
<?
$Account_ID = 6;
$AuthorProfileID = 13;

/**
 * @todo wenn Controller::doUebergangFormAuthorisationListManipulation terminiert wird muss auch hier aktualisiert werden 100731|f
 */
$_POST = array (
	'makeNew' => array(
		array(
			'BEName' => array(
				'UrlBE' => array(
					'MTextID' => null,
					'PartOfID' => $AuthorProfileID,
					'losp_classname' => 'UrlBE',
					'Subject' => '1234___NEWSubject',
					'LanguageCode' => 'deu',
					'Url' => 'http://www.heise.de',
					'Text' =>  'Textt',
					'TagCloud' => array(
						'form_newTag' => 'Tag1____, Tag2____'
					),
					'BECategoryChoiceBEID' => null,
					'Category' => array (
						'form_newCategory' => 'cat1____, cat2____'
					),
					'AuthorProfileID' =>  $AuthorProfileID,
					'ReadNickName' => null,
//					'ReadKind' => 'log',
//					'WriteSelected' => array(
//						0 => $AuthorProfileID
//					),
					'WriteNickName' => null,
					'RightManagement' => array(
						'RightManagementBC' => array(
							'RightManagementValues' => array(
								'TagContentList' => array(
									'BCReadRight' => 'a',
									'BCWriteRight' => 'w',
								),
								'CategoryContentList' => array(
									'BCReadRight' => 'a',
									'BCWriteRight' => 'w',
								),
								'LinkList' => array(
									'BCReadRight' => 'r',
									'BCWriteRight' => 'w',
								),
								'ThreadBC' => array(
									'BCReadRight' => 'a',
									'BCWriteRight' => 'w',
								),
							)
						)
					),
					'Submit' => 'OK'
				)
			),
			'AddToLinkList' => array(
				0 => array(
					'UrlBC' => 'AuthorProfileID'
				),
				1 => array(
					'UrlBC' => 6	//	8 =>	'SocialMovement',
				),
				2 => array(
					'UrlBC' => 8	//	8 =>	'Economy',
				)
			)
		)
	)
);

?>