Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite1f7be3

Browse files
author
Michael Christopher
committed
Formatting cleanup
1 parentc69a238 commite1f7be3

File tree

3 files changed

+28
-21
lines changed

3 files changed

+28
-21
lines changed

‎Services/Zencoder/Account.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
* @category Services
66
* @package Services_Zencoder
77
* @author Michael Christopher <m@zencoder.com>
8-
* @version 2.0
9-
* @license http://creativecommons.org/licenses/MIT/MIT
8+
* @license http://creativecommons.org/licenses/MIT/MIT MIT
9+
* @version Release: 2.0
1010
* @link http://github.com/zencoder/zencoder-php
1111
*/
1212

13-
class Services_Zencoder_Accountextends Services_Zencoder_Object {}
13+
class Services_Zencoder_Accountextends Services_Zencoder_Object
14+
{
15+
}

‎Services/Zencoder/Input.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
* @category Services
66
* @package Services_Zencoder
77
* @author Michael Christopher <m@zencoder.com>
8-
* @version 2.0
9-
* @license http://creativecommons.org/licenses/MIT/MIT
8+
* @license http://creativecommons.org/licenses/MIT/MIT MIT
9+
* @version Release: 2.0
1010
* @link http://github.com/zencoder/zencoder-php
1111
*/
1212

13-
class Services_Zencoder_Inputextends Services_Zencoder_Object {}
13+
class Services_Zencoder_Inputextends Services_Zencoder_Object
14+
{
15+
}

‎Services/Zencoder/Progress.php

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,29 @@
55
* @category Services
66
* @package Services_Zencoder
77
* @author Michael Christopher <m@zencoder.com>
8-
* @version 2.0
9-
* @license http://creativecommons.org/licenses/MIT/MIT
8+
* @license http://creativecommons.org/licenses/MIT/MIT MIT
9+
* @version Release: 2.0
1010
* @link http://github.com/zencoder/zencoder-php
1111
*/
1212

13-
class Services_Zencoder_Progressextends Services_Zencoder_Object {
13+
class Services_Zencoder_Progressextends Services_Zencoder_Object
14+
{
1415

15-
publicfunction__construct($params) {
16-
$this->_update_attributes($params);
17-
}
16+
publicfunction__construct($params)
17+
{
18+
$this->_updateAttributes($params);
19+
}
1820

19-
privatefunction_update_attributes($attributes =array()) {
20-
foreach($attributesas$attr_name =>$attr_value) {
21-
if ($attr_name =="outputs" &&is_array($attr_value)) {
22-
$this->_create_outputs($attr_value);
23-
}elseif ($attr_name =="input" &&is_object($attr_value)) {
24-
$this->input =newServices_Zencoder_Input($attr_value);
25-
}elseif (empty($this->$attr_name)) {
26-
$this->$attr_name =$attr_value;
21+
privatefunction_updateAttributes($attributes =array())
22+
{
23+
foreach ($attributesas$attr_name =>$attr_value) {
24+
if ($attr_name =="outputs" &&is_array($attr_value)) {
25+
$this->_create_outputs($attr_value);
26+
}elseif ($attr_name =="input" &&is_object($attr_value)) {
27+
$this->input =newServices_Zencoder_Input($attr_value);
28+
}elseif (empty($this->$attr_name)) {
29+
$this->$attr_name =$attr_value;
30+
}
2731
}
2832
}
29-
}
3033
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp