remove author & org
This commit is contained in:
parent
f16e907d39
commit
bcb1ce1370
|
@ -148,16 +148,12 @@ class Doi extends Zend_Controller_Plugin_Abstract
|
||||||
}
|
}
|
||||||
|
|
||||||
function data_process_out(&$data){
|
function data_process_out(&$data){
|
||||||
$authors = $this->array_split($data['authors']);
|
|
||||||
$orgs = $this->array_split($data['organization']);
|
|
||||||
$authors_en = $this->array_split($data['author_en']);
|
$authors_en = $this->array_split($data['author_en']);
|
||||||
$orgs_en = $this->array_split($data['organization_en']);
|
$orgs_en = $this->array_split($data['organization_en']);
|
||||||
$info = array();
|
$info = array();
|
||||||
foreach($authors_en as $k=>$v)
|
foreach($authors_en as $k=>$v)
|
||||||
{
|
{
|
||||||
$info[$k] = array(
|
$info[$k] = array(
|
||||||
'author'=>str_replace("\"","",$authors[$k]),
|
|
||||||
'organization'=>str_replace("\"","",$orgs[$k]),
|
|
||||||
'author_en'=>str_replace("\"","",$authors_en[$k]),
|
'author_en'=>str_replace("\"","",$authors_en[$k]),
|
||||||
'organization_en'=>str_replace("\"","",$orgs_en[$k]),
|
'organization_en'=>str_replace("\"","",$orgs_en[$k]),
|
||||||
'order'=> count($authors)+($k-1)
|
'order'=> count($authors)+($k-1)
|
||||||
|
|
Loading…
Reference in New Issue