예제 #1
0
	protected function save( $referenceQueryTransactionInformation ) {
		global $wgTitle;

		parent::save( $referenceQueryTransactionInformation );

		$spelling = $wgTitle->getText();
		
		getExpressionsEditor( $spelling, $this->viewInformation )->save(
			$this->getIdStack(),
			getExpressionsRecordSet( $spelling, $this->viewInformation )
		);
	}
	protected function save( $referenceQueryTransactionInformation ) {
		global
			$wgTitle;

		parent::save( $referenceQueryTransactionInformation );
		$definedMeaningId = $this->getDefinedMeaningIdFromTitle( $wgTitle->getText() );
		
		$dmModel = new DefinedMeaningModel( $definedMeaningId, $this->viewInformation );
		$definedMeaningId = $this->getDefinedMeaningIdFromTitle( $wgTitle->getText() );

		getDefinedMeaningEditor( $this->viewInformation )->save(
			$this->getIdStack( $definedMeaningId ),
			$dmModel->getRecord()
		);
	
	}