File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ public function getCompactInfo()
6767 $ citeInfos = $ this ->getCiteInfos ();
6868
6969 if (!$ clmHeader || !$ citeInfos ) return null ;
70- if (!is_array ($ clmHeader )) $ clmHeader = [$ clmHeader ];
70+ if (!is_array ($ clmHeader )) return [ $ citeInfos [ 0 ]-> getScopusId () => [$ clmHeader => $ citeInfos [ 0 ]-> getColumnCount ()] ];
7171
7272 $ compactData = [];
7373 foreach ($ citeInfos as $ citeInfo ) {
Original file line number Diff line number Diff line change @@ -24,13 +24,11 @@ public function __construct(array $data)
2424 $ this ->data = $ data ;
2525 }
2626
27- //to try
2827 public function getDataCreated ()
2928 {
3029 if (isset ($ this ->data ['date-created ' ])) {
3130 $ dateCreat = $ this ->data ['date-created ' ];
32- $ date = new DateTime ($ dateCreat ['@year ' ] . '- ' . $ dateCreat ['@month ' ] . '- ' . $ dateCreat ['@day ' ]);
33- return $ date ->format ('d/m/Y ' );
31+ return $ dateCreat ['@year ' ] . '- ' . $ dateCreat ['@month ' ] . '- ' . $ dateCreat ['@day ' ];
3432 }
3533 return null ;
3634 }
@@ -50,7 +48,6 @@ public function getNameVariants()
5048
5149 //getClassificationgroup
5250
53- //to try
5451 public function getPublicationRange ()
5552 {
5653 if (isset ($ this ->data ['publication-range ' ])) {
You can’t perform that action at this time.
0 commit comments