Skip to content

getDocumentList 트리거에 columnList 전달#1969

Merged
1 commit merged into
xpressengine:developfrom
sejin7940:use_alternate_output
Feb 2, 2017
Merged

getDocumentList 트리거에 columnList 전달#1969
1 commit merged into
xpressengine:developfrom
sejin7940:use_alternate_output

Conversation

@sejin7940

Copy link
Copy Markdown
Contributor
  1. 실제 getDocumentList 를 외부 모듈에서 쓰려다보면
    $columnList 가 필요한데, 이 값이 trigger 상에서 전달이 안 되고 있네요

물론
$oBoardView = getView('board');
$columnList = $oBoardView->columnList;
이렇게 해서 외부에서 $columnList 를 구해낼 수 있지만
_makeListColumnList() 함수를 실행시킬 수 없다보니 정확치도 않고 효율적으로도 안 좋으니

아예 trigger 로 $columnList 까지 전달해버리는게 좋을듯합니다

  1. $use_alternate_otuput 오타를 $use_alternate_output 으로 변경

@ghost ghost self-assigned this Sep 28, 2016
@ghost ghost added this to the 1.8.26 milestone Sep 28, 2016
@ghost ghost added the type/enhancement label Sep 28, 2016
@kijin

kijin commented Sep 28, 2016

Copy link
Copy Markdown
Contributor

👍

훨씬 쓸모있는 트리거가 되겠군요.

그러고 보니 변수명에 오타도 있었군요 ㅠㅠ

@ghost ghost modified the milestones: 1.8.26, 1.8.27 Oct 4, 2016
@ghost ghost modified the milestones: 1.8.27, 1.8.28 Oct 27, 2016
@ghost ghost added the status/keep label Feb 1, 2017
@ghost ghost closed this Feb 1, 2017
@ghost ghost modified the milestones: 1.8.30, 1.8.28 Feb 1, 2017
@ghost ghost reopened this Feb 1, 2017
@ghost ghost removed the status/keep label Feb 2, 2017
@ghost ghost merged commit 7065c63 into xpressengine:develop Feb 2, 2017
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants