반응형

분류 전체보기 1277

php interface_exists — 인터페이스가 정의되었는지 확인

interface_exists — 인터페이스가 정의되었는지 확인 설명 : bool interface_exists ( string $interface_name [, bool $autoload = true ] ) 주어진 인터페이스가 정의되었는지 확인합니다. 인수 : interface_name 인터페이스명 autoload __autoload 호출 여부, 기본값은 꺼짐 반환값 : 주어진 interface_name이 정의되었으면 TRUE, 아니면 FALSE를 반환합니다. 예제 : Example #1 interface_exists() 예제

IT/php 2017.01.16

php get_declared_traits — 선언 된 모든 특성의 배열을 반환합니다.

get_declared_traits — 선언 된 모든 특성의 배열을 반환합니다. 설명 :array get_declared_traits ( void ) 인수 :이 함수는 인수가 없습니다. 반환값 :선언 된 모든 특성의 이름이 값으로 된 배열을 반환합니다. 실패한 경우 NULL을 반환합니다. 2017/01/11 - [IT/php] - php get_class_vars — 클래스의 기본 프로퍼티를 얻습니다2017/01/11 - [IT/php] - php is_subclass_of — 이 클래스가 부모 클래스의 자식인지 확인2017/01/11 - [IT/php] - php is_a — 객체가 이 클래스나 부모 클래스 중 하나인지 확인2017/01/12 - [IT/php] - php is_subclass_of —..

IT/php 2017.01.14

php class_uses —주어진 클래스가 사용하는 특성을 반환합니다.

class_uses —주어진 클래스가 사용하는 특성을 반환합니다. 설명 :array class_uses ( mixed $class [, bool $autoload = true ] )이 함수는 주어진 클래스가 사용하는 형질의 이름을 가진 배열을 반환한다. 그러나 이것은 부모 클래스에서 사용되는 특성을 포함하지 않습니다. 인수 :class객체 (클래스 인스턴스) 또는 문자열 (클래스 이름)입니다. autoload이 함수가 자동으로 __autoload () 매직 메소드를 통해 클래스를로드하도록 허용할지 여부. 반환값 :성공하면 배열을, 오류가 발생하면 FALSE를 반환합니다. Example #1 class_uses() example 위 예제의 출력 예시: Array( [foo] => foo) Array( [f..

IT/php 2017.01.14

안드로이드 스튜디오 웹뷰 화면 깨짐 css 인식

안드로이드 스튜디오 웹뷰 화면 깨짐 css 인식 하이브리드 앱을 만드는데... 앱을 실행하니 왠일..화면이 깨진다. css 를 인식하지 못하는 현상이 발생했습니다.webView.getSettings().setUseWideViewPort(true); webView.getSettings().setLoadWithOverviewMode(true); 위 두 코드를 넣어주면 됩니다. 이제 웹뷰 만들때 webView = (WebView) findViewById(R.id.webView); webView.setWebViewClient(new WebViewClient()); //새창 열기 없이 웹뷰내에서 다시 열기 webView.getSettings().setUseWideViewPort(true); webView.getS..

IT/안드로이드 2017.01.13

php class_implements — 지정된 클래스 또는 인터페이스에 의해 구현되는 인터페이스를 돌려줍니다.

class_implements — 지정된 클래스 또는 인터페이스에 의해 구현되는 인터페이스를 돌려줍니다. 설명 :array class_implements ( mixed $class [, bool $autoload = true ] )이 함수는 주어진 클래스와 부모가 구현하는 인터페이스의 이름을 가진 배열을 반환합니다. 인수 :class객체 (클래스 인스턴스) 또는 문자열 (클래스 또는 인터페이스 이름)입니다. autoload이 함수가 자동으로 __autoload () 매직 메소드를 통해 클래스를로드하도록 허용할지 여부. 반환값 :성공하면 배열을, 오류가 발생하면 FALSE를 반환합니다. Example #1 class_implements() example 위 예제의 출력 예시: Array( [foo] => ..

IT/php 2017.01.13

php get_declared_interfaces — 선언된 모든 인터페이스의 배열을 반환

get_declared_interfaces — 선언된 모든 인터페이스의 배열을 반환 설명 : array get_declared_interfaces ( void )선언된 인터페이스를 얻습니다. 반환값 :현재 스크립트에서 선언된 인터페이스명의 배열을 반환합니다. Example #1 get_declared_interfaces() 예제 위 예제의 출력 예시: Array( [0] => Traversable [1] => IteratorAggregate [2] => Iterator [3] => ArrayAccess [4] => reflector [5] => RecursiveIterator [6] => SeekableIterator) 2017/01/13 - [IT/php] - get_declared_classes — ..

IT/php 2017.01.13

get_declared_classes — 선언된 클래스명을 배열로 반환

get_declared_classes — 선언된 클래스명을 배열로 반환 설명 : array get_declared_classes ( void )선언된 클래스를 얻습니다. 반환값 : 현재 스크립트에서 선언된 클래스명을 배열로 반환한다. Example #1 get_declared_classes() 예제 위 예제의 출력 예시: Array( [0] => stdClass [1] => __PHP_Incomplete_Class [2] => Directory) 2017/01/12 - [IT/php] - php property_exists — 객체나 클래스가 프로퍼티를 가졌는지 확인2017/01/12 - [IT/php] - php trait_exists — 형질이 존재하는지 검사한다.2017/01/12 - [IT/php..

IT/php 2017.01.13

values-v23.xml Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'. Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Mate..

D:\android\tps\apt\build\intermediates\res\merged\debug\values-v23\values-v23.xmlError:(4) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.Error:(34) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.Error:(4) Error retrieving parent for i..

IT/안드로이드 2017.01.13

Error:Execution failed for task ':apt:processDebugManifest'. > Manifest merger failed : Attribute application@icon value=(@drawable/ic_apt) from AndroidManifest.xml:34:3-34 is also present at [tps:sowtLib:unspecified] AndroidManifest.xml:13:9-45 value=..

이번에도 에러 입니다. Error:Execution failed for task ':apt:processDebugManifest'.> Manifest merger failed : Attribute application@icon value=(@drawable/ic_apt) from AndroidManifest.xml:34:3-34is also present at [tps:sowtLib:unspecified] AndroidManifest.xml:13:9-45 value=(@drawable/ic_launcher).Suggestion: add 'tools:replace="android:icon"' to element at AndroidManifest.xml:32:2-69:16 to override. 이와 같은 ..

IT/안드로이드 2017.01.13
반응형