반응형

IT 571

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

php property_exists — 객체나 클래스가 프로퍼티를 가졌는지 확인

property_exists — 객체나 클래스가 프로퍼티를 가졌는지 확인 설명 :bool property_exists ( mixed $class , string $property )주어진 property가 지정한 클래스에 존재하는지 확인합니다. Note:isset()과 다르게, property_exists()는 프로퍼티가 NULL 값을 가지고 있어도 TRUE를 반환합니다. 인수 :class확인할 클래스명이나 클래스의 객체 property프로퍼티명 반환값 :프로퍼티가 존재하면 TRUE, 존재하지 않으면 FALSE, 오류시엔 NULL을 반환합니다. 예제 : Example #1 property_exists() 예제

IT/php 2017.01.12

php is_subclass_of — 이 클래스가 부모 클래스의 자식인지 확인

is_subclass_of — 이 클래스가 부모 클래스의 자식인지 확인 설명 :bool is_subclass_of ( mixed $object , string $class_name )주어진 object의 부모 중에 class_name 클래스가 존재하는지 확인합니다. 인수 :object클래스명이나 객체 인스턴스 class_name클래스명 반환값 :object가 class_name의 자식 클래스면 TRUE, 아니면 FALSE를 반환합니다. Example #1 is_subclass_of() 예제 위 예제의 출력: yes, $WFC is a subclass of WidgetFactoryno, $WF is not a subclass of WidgetFactoryyes, WidgetFactory_Child is a..

IT/php 2017.01.12

php is_a — 객체가 이 클래스나 부모 클래스 중 하나인지 확인

is_a — 객체가 이 클래스나 부모 클래스 중 하나인지 확인 설명 :bool is_a ( object $object , string $class_name )주어진 object가 이 클래스나 부모 클래스 중 하나인지 확인합니다. 인수 :object확인할 객체 class_name클래스명 반환값 :객체가 이 클래스나 부모 클래스 중 하나이면 TRUE, 아니면 FALSE를 반환합니다. Example #1 is_a() 예제 Example #2 PHP 5에서 instanceof 연산자 사용하기

IT/php 2017.01.11

php is_subclass_of — 이 클래스가 부모 클래스의 자식인지 확인

is_subclass_of — 이 클래스가 부모 클래스의 자식인지 확인 설명 :bool is_subclass_of ( mixed $object , string $class_name )주어진 object의 부모 중에 class_name 클래스가 존재하는지 확인합니다. 인수 :object클래스명이나 객체 인스턴스 class_name클래스명 반환값 : object가 class_name의 자식 클래스면 TRUE, 아니면 FALSE를 반환합니다. Example #1 is_subclass_of() 예제 위 예제의 출력: yes, $WFC is a subclass of WidgetFactoryno, $WF is not a subclass of WidgetFactoryyes, WidgetFactory_Child is ..

IT/php 2017.01.11
반응형